# PowerPointAutoShapeFluent

The fluent methods of PowerPointAutoShape, 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 [PowerPointAutoShape](/api/powerpoint/officeimo-powerpoint-powerpointautoshape/), 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
- PowerPointAutoShapeFluent

Filter members 

Show inherited

## Methods

`public static TSelf Fill<TSelf>(TSelf powerPointAutoShape, OfficeColor color)` [#](#method-fill-officeimo-officecolor)

Sets the fill color.

Type Parameters

**TSelf**

Parameters

**powerPointAutoShape TSelf required**

The instance.

**color OfficeIMO.OfficeColor required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Stroke<TSelf>(TSelf powerPointAutoShape, OfficeColor color, OfficeLength? width = null)` [#](#method-stroke-officeimo-officecolor-nullable-officeimo-officelength)

Sets the outline color and, when given, its physical width.

Type Parameters

**TSelf**

Parameters

**powerPointAutoShape TSelf required**

The instance.

**color OfficeIMO.OfficeColor required**

The value.

**width OfficeIMO.OfficeLength? = null optional**

The value.

Returns

`TSelf` The same instance.

## 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:673F09C60513449E1B0C8E8457518CEDF86917ED2CB70AF6DD72A2FBB81B2B64 -->
