# PowerPointShapeFluent

The fluent methods of PowerPointShape, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Modifiers**

static

The fluent methods of [PowerPointShape](/api/powerpoint/officeimo-powerpoint-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

Filter members 

Show inherited

## Methods

`public static TSelf AccessibilityTitle<TSelf>(TSelf powerPointShape, string? value)` [#](#method-accessibilitytitle-string)

Sets [PowerPointShape.Title](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property     // C# fluent
powerPointShape.Title = value;    powerPointShape.AccessibilityTitle(value);
```

`public static TSelf AltText<TSelf>(TSelf powerPointShape, string? value)` [#](#method-alttext-string)

Sets [PowerPointShape.AltText](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property       // C# fluent
powerPointShape.AltText = value;    powerPointShape.AltText(value);
```

`public static TSelf Blur<TSelf>(TSelf powerPointShape, OfficeLength radius, bool grow = false)` [#](#method-blur-officeimo-officelength-boolean)

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)` [#](#method-bottom-officeimo-officelength)

Sets [PowerPointShape.Bottom](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property      // C# fluent
powerPointShape.Bottom = value;    powerPointShape.Bottom(value);
```

`public static TSelf Bounds<TSelf>(TSelf powerPointShape, PowerPointLayoutBox value)` [#](#method-bounds-officeimo-powerpoint-powerpointlayoutbox)

Sets [PowerPointShape.Bounds](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property      // C# fluent
powerPointShape.Bounds = value;    powerPointShape.Bounds(value);
```

`public static TSelf CenterX<TSelf>(TSelf powerPointShape, OfficeLength value)` [#](#method-centerx-officeimo-officelength)

Sets [PowerPointShape.CenterX](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property       // C# fluent
powerPointShape.CenterX = value;    powerPointShape.CenterX(value);
```

`public static TSelf CenterY<TSelf>(TSelf powerPointShape, OfficeLength value)` [#](#method-centery-officeimo-officelength)

Sets [PowerPointShape.CenterY](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// 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")` [#](#method-clicksound-io-stream-string-string-string)

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)` [#](#method-clickstopssound-boolean)

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)` [#](#method-decorative-boolean)

Sets [PowerPointShape.Decorative](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property          // C# fluent
powerPointShape.Decorative = value;    powerPointShape.Decorative(value);
```

`public static TSelf FillColor<TSelf>(TSelf powerPointShape, OfficeColor? value)` [#](#method-fillcolor-nullable-officeimo-officecolor)

Sets [PowerPointShape.FillColor](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property         // C# fluent
powerPointShape.FillColor = value;    powerPointShape.FillColor(value);
```

`public static TSelf FillTransparency<TSelf>(TSelf powerPointShape, int? value)` [#](#method-filltransparency-nullable-system-int32)

Sets [PowerPointShape.FillTransparency](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// 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)` [#](#method-glow-officeimo-officecolor-nullable-officeimo-officelength-int32)

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)` [#](#method-height-officeimo-officelength)

Sets [PowerPointShape.Height](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property      // C# fluent
powerPointShape.Height = value;    powerPointShape.Height(value);
```

`public static TSelf Hidden<TSelf>(TSelf powerPointShape, bool value = true)` [#](#method-hidden-boolean)

Sets [PowerPointShape.Hidden](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property      // C# fluent
powerPointShape.Hidden = value;    powerPointShape.Hidden(value);
```

`public static TSelf HorizontalFlip<TSelf>(TSelf powerPointShape, bool? value = true)` [#](#method-horizontalflip-nullable-system-boolean)

Sets [PowerPointShape.HorizontalFlip](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property              // C# fluent
powerPointShape.HorizontalFlip = value;    powerPointShape.HorizontalFlip(value);
```

Hyperlink``1 3 overloads

`public static TSelf Hyperlink<TSelf>(TSelf powerPointShape, Uri uri, string? tooltip = null)` [#](#method-hyperlink-uri-string)

Sets an external or internal-slide click hyperlink on this shape.

Type Parameters

**TSelf**

Parameters

**powerPointShape TSelf required**

The instance.

**uri System.Uri required**

Absolute hyperlink target or a valid #slide-N fragment.

**tooltip string? = null optional**

Optional screen tip.

Returns

`TSelf` The same instance.

`public static TSelf Hyperlink<TSelf>(TSelf powerPointShape, PowerPointSlide targetSlide, string? tooltip = null)` [#](#method-hyperlink-officeimo-powerpoint-powerpointslide-string)

Sets an internal click hyperlink to another slide in the same presentation.

Type Parameters

**TSelf**

Parameters

**powerPointShape TSelf required**

The instance.

**targetSlide OfficeIMO.PowerPoint.PowerPointSlide required**

Target slide.

**tooltip string? = null optional**

Optional screen tip.

Returns

`TSelf` The same instance.

`public static TSelf Hyperlink<TSelf>(TSelf powerPointShape, Uri? value)` [#](#method-hyperlink-uri)

Sets [PowerPointShape.Hyperlink](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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 required**

The instance.

**value System.Uri? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property         // C# fluent
powerPointShape.Hyperlink = value;    powerPointShape.Hyperlink(value);
```

`public static TSelf Language<TSelf>(TSelf powerPointShape, string language)` [#](#method-language-string)

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)` [#](#method-left-officeimo-officelength)

Sets [PowerPointShape.Left](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// 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)` [#](#member-ef61528a980d9fd11de4f3fc)

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")` [#](#method-mouseoversound-io-stream-string-string-string)

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)` [#](#method-mouseoverstopssound-boolean)

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)` [#](#method-name-string)

Sets [PowerPointShape.Name](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property    // C# fluent
powerPointShape.Name = value;    powerPointShape.Name(value);
```

`public static TSelf OutlineColor<TSelf>(TSelf powerPointShape, OfficeColor? value)` [#](#method-outlinecolor-nullable-officeimo-officecolor)

Sets [PowerPointShape.OutlineColor](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property            // C# fluent
powerPointShape.OutlineColor = value;    powerPointShape.OutlineColor(value);
```

`public static TSelf OutlineDash<TSelf>(TSelf powerPointShape, PowerPointLineDashStyle? value)` [#](#method-outlinedash-nullable-officeimo-powerpoint-powerpointlinedashstyle)

Sets [PowerPointShape.OutlineDash](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property           // C# fluent
powerPointShape.OutlineDash = value;    powerPointShape.OutlineDash(value);
```

`public static TSelf OutlineTransparency<TSelf>(TSelf powerPointShape, int? value)` [#](#method-outlinetransparency-nullable-system-int32)

Sets [PowerPointShape.OutlineTransparency](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property                   // C# fluent
powerPointShape.OutlineTransparency = value;    powerPointShape.OutlineTransparency(value);
```

`public static TSelf OutlineWidth<TSelf>(TSelf powerPointShape, OfficeLength? value)` [#](#method-outlinewidth-nullable-officeimo-officelength)

Sets [PowerPointShape.OutlineWidth](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property            // C# fluent
powerPointShape.OutlineWidth = value;    powerPointShape.OutlineWidth(value);
```

`public static TSelf Position<TSelf>(TSelf powerPointShape, OfficeLength left, OfficeLength top)` [#](#method-position-officeimo-officelength-officeimo-officelength)

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)` [#](#method-reflection-nullable-officeimo-officelength-nullable-officeimo-officelength-double-double-int32-int32-int32-int32-nullable-officeimo-powerpoint-powerpointrectanglealignment-boolean)

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)` [#](#method-right-officeimo-officelength)

Sets [PowerPointShape.Right](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property     // C# fluent
powerPointShape.Right = value;    powerPointShape.Right(value);
```

`public static TSelf Rotation<TSelf>(TSelf powerPointShape, double? value)` [#](#method-rotation-nullable-system-double)

Sets [PowerPointShape.Rotation](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// 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)` [#](#method-shadow-officeimo-officecolor-nullable-officeimo-officelength-nullable-officeimo-officelength-double-int32-boolean)

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)` [#](#method-size-officeimo-officelength-officeimo-officelength)

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)` [#](#method-softedges-officeimo-officelength)

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)` [#](#method-top-officeimo-officelength)

Sets [PowerPointShape.Top](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property    // C# fluent
powerPointShape.Top = value;     powerPointShape.Top(value);
```

`public static TSelf VerticalFlip<TSelf>(TSelf powerPointShape, bool? value = true)` [#](#method-verticalflip-nullable-system-boolean)

Sets [PowerPointShape.VerticalFlip](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

```csharp
// C# initializer or property            // C# fluent
powerPointShape.VerticalFlip = value;    powerPointShape.VerticalFlip(value);
```

`public static TSelf Width<TSelf>(TSelf powerPointShape, OfficeLength value)` [#](#method-width-officeimo-officelength)

Sets [PowerPointShape.Width](/api/powerpoint/officeimo-powerpoint-powerpointshape/): 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

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

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:AED100320310DFA97968C5A31C0011B7D0C787EAA3C0D57AABFCCC35C3E27ABE -->
