# PowerPointShapeGridOptionsFluent

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

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Modifiers**

static

The fluent methods of [PowerPointShapeGridOptions](/api/powerpoint/officeimo-powerpoint-powerpointshapegridoptions/), 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
- PowerPointShapeGridOptionsFluent

Filter members 

Show inherited

## Methods

`public static PowerPointShapeGridOptions Flow(PowerPointShapeGridOptions powerPointShapeGridOptions, PowerPointShapeGridFlow value)` [#](#method-flow-officeimo-powerpoint-powerpointshapegridoptions-officeimo-powerpoint-powerpointshapegridflow)

Sets [PowerPointShapeGridOptions.Flow](/api/powerpoint/officeimo-powerpoint-powerpointshapegridoptions/): Flow direction for filling cells.

Parameters

**powerPointShapeGridOptions OfficeIMO.PowerPoint.PowerPointShapeGridOptions required**

The instance.

**value OfficeIMO.PowerPoint.PowerPointShapeGridFlow required**

The value.

Returns

`PowerPointShapeGridOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeGridOptions { Flow = value };    powerPointShapeGridOptions.Flow(value);
```

`public static PowerPointShapeGridOptions GutterX(PowerPointShapeGridOptions powerPointShapeGridOptions, OfficeLength value)` [#](#method-gutterx-officeimo-powerpoint-powerpointshapegridoptions-officeimo-officelength)

Sets [PowerPointShapeGridOptions.GutterX](/api/powerpoint/officeimo-powerpoint-powerpointshapegridoptions/): Horizontal gutter between cells. The default is zero; layout rejects negative gutters.

Parameters

**powerPointShapeGridOptions OfficeIMO.PowerPoint.PowerPointShapeGridOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointShapeGridOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeGridOptions { GutterX = value };    powerPointShapeGridOptions.GutterX(value);
```

`public static PowerPointShapeGridOptions GutterY(PowerPointShapeGridOptions powerPointShapeGridOptions, OfficeLength value)` [#](#method-guttery-officeimo-powerpoint-powerpointshapegridoptions-officeimo-officelength)

Sets [PowerPointShapeGridOptions.GutterY](/api/powerpoint/officeimo-powerpoint-powerpointshapegridoptions/): Vertical gutter between cells. The default is zero; layout rejects negative gutters.

Parameters

**powerPointShapeGridOptions OfficeIMO.PowerPoint.PowerPointShapeGridOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointShapeGridOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeGridOptions { GutterY = value };    powerPointShapeGridOptions.GutterY(value);
```

`public static PowerPointShapeGridOptions MaxColumns(PowerPointShapeGridOptions powerPointShapeGridOptions, int? value)` [#](#method-maxcolumns-officeimo-powerpoint-powerpointshapegridoptions-nullable-system-int32)

Sets [PowerPointShapeGridOptions.MaxColumns](/api/powerpoint/officeimo-powerpoint-powerpointshapegridoptions/): Maximum number of columns to use.

Parameters

**powerPointShapeGridOptions OfficeIMO.PowerPoint.PowerPointShapeGridOptions required**

The instance.

**value int? required**

The value.

Returns

`PowerPointShapeGridOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeGridOptions { MaxColumns = value };    powerPointShapeGridOptions.MaxColumns(value);
```

`public static PowerPointShapeGridOptions MinColumns(PowerPointShapeGridOptions powerPointShapeGridOptions, int? value)` [#](#method-mincolumns-officeimo-powerpoint-powerpointshapegridoptions-nullable-system-int32)

Sets [PowerPointShapeGridOptions.MinColumns](/api/powerpoint/officeimo-powerpoint-powerpointshapegridoptions/): Minimum number of columns to use.

Parameters

**powerPointShapeGridOptions OfficeIMO.PowerPoint.PowerPointShapeGridOptions required**

The instance.

**value int? required**

The value.

Returns

`PowerPointShapeGridOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeGridOptions { MinColumns = value };    powerPointShapeGridOptions.MinColumns(value);
```

`public static PowerPointShapeGridOptions ResizeToCell(PowerPointShapeGridOptions powerPointShapeGridOptions, bool value = true)` [#](#method-resizetocell-officeimo-powerpoint-powerpointshapegridoptions-boolean)

Sets [PowerPointShapeGridOptions.ResizeToCell](/api/powerpoint/officeimo-powerpoint-powerpointshapegridoptions/): Whether shapes should be resized to the grid cell.

Parameters

**powerPointShapeGridOptions OfficeIMO.PowerPoint.PowerPointShapeGridOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PowerPointShapeGridOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeGridOptions { ResizeToCell = value };    powerPointShapeGridOptions.ResizeToCell(value);
```

`public static PowerPointShapeGridOptions TargetCellAspect(PowerPointShapeGridOptions powerPointShapeGridOptions, double? value)` [#](#method-targetcellaspect-officeimo-powerpoint-powerpointshapegridoptions-nullable-system-double)

Sets [PowerPointShapeGridOptions.TargetCellAspect](/api/powerpoint/officeimo-powerpoint-powerpointshapegridoptions/): Target cell aspect ratio (width / height).

Parameters

**powerPointShapeGridOptions OfficeIMO.PowerPoint.PowerPointShapeGridOptions required**

The instance.

**value double? required**

The value.

Returns

`PowerPointShapeGridOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeGridOptions { TargetCellAspect = value };    powerPointShapeGridOptions.TargetCellAspect(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:392648865630932AFA9214C37894BC0DFB5B06821ED99CD8FFB14FF44460B93F -->
