Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointShapeFluent

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
static

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 required
The instance.
value string? required
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 required
The instance.
value string? required
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 required
The instance.
radius OfficeIMO.OfficeLength required
The value.
grow bool = false optional
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 required
The instance.
value OfficeIMO.OfficeLength required
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 required
The instance.
value OfficeIMO.PowerPoint.PowerPointLayoutBox required
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 required
The instance.
value OfficeIMO.OfficeLength required
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 required
The instance.
value OfficeIMO.OfficeLength required
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 required
The instance.
audio System.IO.Stream required
The value.
name string required
The value.
contentType string = "audio/wav" optional
The value.
extension string = ".wav" optional
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 required
The instance.
value bool = true optional
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 required
The instance.
value bool = true optional
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 required
The instance.
value OfficeIMO.OfficeColor? required
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 required
The instance.
value int? required
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 required
The instance.
color OfficeIMO.OfficeColor required
The value.
radius OfficeIMO.OfficeLength? = null optional
The value.
transparencyPercent int = 30 optional
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 required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property      // C# fluent
powerPointShape.Height = value;    powerPointShape.Height(value);
public static TSelf Hidden<TSelf>(TSelf powerPointShape, bool value = true) #

Sets PowerPointShape.Hidden: Gets or sets whether the shape is hidden.

Type Parameters

TSelf

Parameters

powerPointShape TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property      // C# fluent
powerPointShape.Hidden = value;    powerPointShape.Hidden(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 required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property              // C# fluent
powerPointShape.HorizontalFlip = value;    powerPointShape.HorizontalFlip(value);
Hyperlink``1 3 overloads
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 required
The instance.
language string required
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 required
The instance.
value OfficeIMO.OfficeLength required
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 required
The instance.
startType OfficeIMO.Drawing.OfficeLineMarkerKind? required
The value.
endType OfficeIMO.Drawing.OfficeLineMarkerKind? required
The value.
width OfficeIMO.PowerPoint.PowerPointLineEndWidth? = null optional
The value.
length OfficeIMO.PowerPoint.PowerPointLineEndLength? = null optional
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 required
The instance.
audio System.IO.Stream required
The value.
name string required
The value.
contentType string = "audio/wav" optional
The value.
extension string = ".wav" optional
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 required
The instance.
value bool = true optional
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 required
The instance.
value string? required
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 required
The instance.
value OfficeIMO.OfficeColor? required
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 required
The instance.
value OfficeIMO.PowerPoint.PowerPointLineDashStyle? required
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 required
The instance.
value int? required
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 required
The instance.
value OfficeIMO.OfficeLength? required
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 required
The instance.
left OfficeIMO.OfficeLength required
The value.
top OfficeIMO.OfficeLength required
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 required
The instance.
blur OfficeIMO.OfficeLength? = null optional
The value.
distance OfficeIMO.OfficeLength? = null optional
The value.
directionDegrees double = 270 optional
The value.
fadeDirectionDegrees double = 90 optional
The value.
startOpacityPercent int = 50 optional
The value.
endOpacityPercent int = 0 optional
The value.
startPositionPercent int = 0 optional
The value.
endPositionPercent int = 100 optional
The value.
alignment OfficeIMO.PowerPoint.PowerPointRectangleAlignment? = null optional
The value.
rotateWithShape bool = false optional
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 required
The instance.
value OfficeIMO.OfficeLength required
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 required
The instance.
value double? required
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 required
The instance.
color OfficeIMO.OfficeColor required
The value.
blur OfficeIMO.OfficeLength? = null optional
The value.
distance OfficeIMO.OfficeLength? = null optional
The value.
angleDegrees double = 45 optional
The value.
transparencyPercent int = 35 optional
The value.
rotateWithShape bool = false optional
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 required
The instance.
width OfficeIMO.OfficeLength required
The value.
height OfficeIMO.OfficeLength required
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 required
The instance.
radius OfficeIMO.OfficeLength required
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 required
The instance.
value OfficeIMO.OfficeLength required
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 required
The instance.
value bool? = true optional
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 required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property     // C# fluent
powerPointShape.Width = value;    powerPointShape.Width(value);