PowerPointShapeFluent
OfficeIMO.PowerPoint
The fluent methods of PowerPointShape, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- PowerPointShapeFluent
Methods
public static TSelf AccessibilityTitle<TSelf>(TSelf powerPointShape, string? value) #Sets PowerPointShape.Title: Gets or sets the concise accessibility title stored in the shape's non-visual properties.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Title = value; powerPointShape.AccessibilityTitle(value);public static TSelf AltText<TSelf>(TSelf powerPointShape, string? value) #Sets PowerPointShape.AltText: Alternative text description assigned to the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.AltText = value; powerPointShape.AltText(value);public static TSelf Blur<TSelf>(TSelf powerPointShape, OfficeLength radius, bool grow = false) #Applies a blur effect to the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- radius OfficeIMO.OfficeLength
- The value.
- grow bool = false
- The value.
Returns
TSelf The same instance.public static TSelf Bottom<TSelf>(TSelf powerPointShape, OfficeLength value) #Sets PowerPointShape.Bottom: Bottom of the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Bottom = value; powerPointShape.Bottom(value);public static TSelf Bounds<TSelf>(TSelf powerPointShape, PowerPointLayoutBox value) #Sets PowerPointShape.Bounds: Gets or sets the shape bounds.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.PowerPoint.PowerPointLayoutBox
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Bounds = value; powerPointShape.Bounds(value);public static TSelf CenterX<TSelf>(TSelf powerPointShape, OfficeLength value) #Sets PowerPointShape.CenterX: CenterX of the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.CenterX = value; powerPointShape.CenterX(value);public static TSelf CenterY<TSelf>(TSelf powerPointShape, OfficeLength value) #Sets PowerPointShape.CenterY: CenterY of the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.CenterY = value; powerPointShape.CenterY(value);public static TSelf ClickSound<TSelf>(TSelf powerPointShape, Stream audio, string name, string contentType = "audio/wav", string extension = ".wav") #Sets an embedded WAV or AIFF sound played when this shape is clicked.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- audio System.IO.Stream
- The value.
- name string
- The value.
- contentType string = "audio/wav"
- The value.
- extension string = ".wav"
- The value.
Returns
TSelf The same instance.public static TSelf ClickStopsSound<TSelf>(TSelf powerPointShape, bool value = true) #Controls whether clicking this shape stops the currently playing sound.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value bool = true
- The value. True when omitted.
Returns
TSelf The same instance.public static TSelf Decorative<TSelf>(TSelf powerPointShape, bool value = true) #Sets PowerPointShape.Decorative: Gets or sets whether assistive technology should treat this shape as decorative.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Decorative = value; powerPointShape.Decorative(value);public static TSelf FillColor<TSelf>(TSelf powerPointShape, OfficeColor? value) #Sets PowerPointShape.FillColor: Gets or sets the local fill color, retaining native theme slots and opacity.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.FillColor = value; powerPointShape.FillColor(value);public static TSelf FillTransparency<TSelf>(TSelf powerPointShape, int? value) #Sets PowerPointShape.FillTransparency: Gets or sets the fill transparency percentage (0-100). 0 = opaque, 100 = fully transparent.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value int?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.FillTransparency = value; powerPointShape.FillTransparency(value);public static TSelf Glow<TSelf>(TSelf powerPointShape, OfficeColor color, OfficeLength? radius = null, int transparencyPercent = 30) #Applies a glow effect to the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- color OfficeIMO.OfficeColor
- The value.
- radius OfficeIMO.OfficeLength? = null
- The value.
- transparencyPercent int = 30
- The value.
Returns
TSelf The same instance.public static TSelf Height<TSelf>(TSelf powerPointShape, OfficeLength value) #Sets PowerPointShape.Height: Height of the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Height = value; powerPointShape.Height(value);public static TSelf HorizontalFlip<TSelf>(TSelf powerPointShape, bool? value = true) #Sets PowerPointShape.HorizontalFlip: Gets or sets horizontal flip.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value bool? = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.HorizontalFlip = value; powerPointShape.HorizontalFlip(value);public static TSelf Hyperlink<TSelf>(TSelf powerPointShape, Uri uri, string? tooltip = null) #Sets an external or internal-slide click hyperlink on this shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- uri System.Uri
- Absolute hyperlink target or a valid #slide-N fragment.
- tooltip string? = null
- Optional screen tip.
Returns
TSelf The same instance.public static TSelf Hyperlink<TSelf>(TSelf powerPointShape, PowerPointSlide targetSlide, string? tooltip = null) #Sets an internal click hyperlink to another slide in the same presentation.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- targetSlide OfficeIMO.PowerPoint.PowerPointSlide
- Target slide.
- tooltip string? = null
- Optional screen tip.
Returns
TSelf The same instance.public static TSelf Hyperlink<TSelf>(TSelf powerPointShape, Uri? value) #Sets PowerPointShape.Hyperlink: Click hyperlink assigned to the shape, when present. Internal slide links are returned as stable Markdown-compatible fragments such as #slide-2.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value System.Uri?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Hyperlink = value; powerPointShape.Hyperlink(value);public static TSelf Language<TSelf>(TSelf powerPointShape, string language) #Applies a BCP 47 language tag to every text run and paragraph end marker in this shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- language string
- The value.
Returns
TSelf The same instance.public static TSelf Left<TSelf>(TSelf powerPointShape, OfficeLength value) #Sets PowerPointShape.Left: Left of the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Left = value; powerPointShape.Left(value);public static TSelf LineEnds<TSelf>(TSelf powerPointShape, OfficeLineMarkerKind? startType, OfficeLineMarkerKind? endType, PowerPointLineEndWidth? width = null, PowerPointLineEndLength? length = null) #Sets arrowheads for line-based shapes.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- startType OfficeIMO.Drawing.OfficeLineMarkerKind?
- The value.
- endType OfficeIMO.Drawing.OfficeLineMarkerKind?
- The value.
- width OfficeIMO.PowerPoint.PowerPointLineEndWidth? = null
- The value.
- length OfficeIMO.PowerPoint.PowerPointLineEndLength? = null
- The value.
Returns
TSelf The same instance.public static TSelf MouseOverSound<TSelf>(TSelf powerPointShape, Stream audio, string name, string contentType = "audio/wav", string extension = ".wav") #Sets an embedded WAV or AIFF sound played when the pointer enters this shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- audio System.IO.Stream
- The value.
- name string
- The value.
- contentType string = "audio/wav"
- The value.
- extension string = ".wav"
- The value.
Returns
TSelf The same instance.public static TSelf MouseOverStopsSound<TSelf>(TSelf powerPointShape, bool value = true) #Controls whether entering this shape stops the currently playing sound.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value bool = true
- The value. True when omitted.
Returns
TSelf The same instance.public static TSelf Name<TSelf>(TSelf powerPointShape, string? value) #Sets PowerPointShape.Name: Name assigned to the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Name = value; powerPointShape.Name(value);public static TSelf OutlineColor<TSelf>(TSelf powerPointShape, OfficeColor? value) #Sets PowerPointShape.OutlineColor: Gets or sets the local outline color, retaining native theme slots and opacity.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.OutlineColor = value; powerPointShape.OutlineColor(value);public static TSelf OutlineDash<TSelf>(TSelf powerPointShape, PowerPointLineDashStyle? value) #Sets PowerPointShape.OutlineDash: Gets or sets the outline dash preset.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.PowerPoint.PowerPointLineDashStyle?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.OutlineDash = value; powerPointShape.OutlineDash(value);public static TSelf OutlineTransparency<TSelf>(TSelf powerPointShape, int? value) #Sets PowerPointShape.OutlineTransparency: Gets or sets the outline transparency percentage (0-100). 0 is opaque and 100 is fully transparent.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value int?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.OutlineTransparency = value; powerPointShape.OutlineTransparency(value);public static TSelf OutlineWidth<TSelf>(TSelf powerPointShape, OfficeLength? value) #Sets PowerPointShape.OutlineWidth: Gets or sets the outline width.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.OutlineWidth = value; powerPointShape.OutlineWidth(value);public static TSelf Position<TSelf>(TSelf powerPointShape, OfficeLength left, OfficeLength top) #Sets position with explicit lengths.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- left OfficeIMO.OfficeLength
- The value.
- top OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.public static TSelf Reflection<TSelf>(TSelf powerPointShape, OfficeLength? blur = null, OfficeLength? distance = null, double directionDegrees = 270, double fadeDirectionDegrees = 90, int startOpacityPercent = 50, int endOpacityPercent = 0, int startPositionPercent = 0, int endPositionPercent = 100, PowerPointRectangleAlignment? alignment = null, bool rotateWithShape = false) #Applies a reflection effect to the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- blur OfficeIMO.OfficeLength? = null
- The value.
- distance OfficeIMO.OfficeLength? = null
- The value.
- directionDegrees double = 270
- The value.
- fadeDirectionDegrees double = 90
- The value.
- startOpacityPercent int = 50
- The value.
- endOpacityPercent int = 0
- The value.
- startPositionPercent int = 0
- The value.
- endPositionPercent int = 100
- The value.
- alignment OfficeIMO.PowerPoint.PowerPointRectangleAlignment? = null
- The value.
- rotateWithShape bool = false
- The value.
Returns
TSelf The same instance.public static TSelf Right<TSelf>(TSelf powerPointShape, OfficeLength value) #Sets PowerPointShape.Right: Right of the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Right = value; powerPointShape.Right(value);public static TSelf Rotation<TSelf>(TSelf powerPointShape, double? value) #Sets PowerPointShape.Rotation: Gets or sets rotation in degrees.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value double?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Rotation = value; powerPointShape.Rotation(value);public static TSelf Shadow<TSelf>(TSelf powerPointShape, OfficeColor color, OfficeLength? blur = null, OfficeLength? distance = null, double angleDegrees = 45, int transparencyPercent = 35, bool rotateWithShape = false) #Applies a drop shadow to the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- color OfficeIMO.OfficeColor
- The value.
- blur OfficeIMO.OfficeLength? = null
- The value.
- distance OfficeIMO.OfficeLength? = null
- The value.
- angleDegrees double = 45
- The value.
- transparencyPercent int = 35
- The value.
- rotateWithShape bool = false
- The value.
Returns
TSelf The same instance.public static TSelf Size<TSelf>(TSelf powerPointShape, OfficeLength width, OfficeLength height) #Sets size with explicit lengths.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- width OfficeIMO.OfficeLength
- The value.
- height OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.public static TSelf SoftEdges<TSelf>(TSelf powerPointShape, OfficeLength radius) #Applies a soft edges effect to the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- radius OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.public static TSelf Top<TSelf>(TSelf powerPointShape, OfficeLength value) #Sets PowerPointShape.Top: Top of the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Top = value; powerPointShape.Top(value);public static TSelf VerticalFlip<TSelf>(TSelf powerPointShape, bool? value = true) #Sets PowerPointShape.VerticalFlip: Gets or sets vertical flip.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value bool? = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.VerticalFlip = value; powerPointShape.VerticalFlip(value);public static TSelf Width<TSelf>(TSelf powerPointShape, OfficeLength value) #Sets PowerPointShape.Width: Width of the shape.
Type Parameters
- TSelf
Parameters
- powerPointShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointShape.Width = value; powerPointShape.Width(value);