Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointShapeSpacingOptionsFluent

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
static

The fluent methods of PowerPointShapeSpacingOptions, 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
  • PowerPointShapeSpacingOptionsFluent

Methods

public static PowerPointShapeSpacingOptions Alignment(PowerPointShapeSpacingOptions powerPointShapeSpacingOptions, PowerPointShapeAlignment? value) #

Sets PowerPointShapeSpacingOptions.Alignment: Main-axis alignment (Left/Center/Right for horizontal; Top/Middle/Bottom for vertical).

Parameters

powerPointShapeSpacingOptions OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions required
The instance.
value OfficeIMO.PowerPoint.PowerPointShapeAlignment? required
The value.

Returns

PowerPointShapeSpacingOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions { Alignment = value };    powerPointShapeSpacingOptions.Alignment(value);
public static PowerPointShapeSpacingOptions ClampSpacingToBounds(PowerPointShapeSpacingOptions powerPointShapeSpacingOptions, bool value = true) #

Sets PowerPointShapeSpacingOptions.ClampSpacingToBounds: When true, reduces spacing to keep the block within the bounds.

Parameters

powerPointShapeSpacingOptions OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PowerPointShapeSpacingOptions The same instance.

Examples

// C# initializer or property                                                                       // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions { ClampSpacingToBounds = value };    powerPointShapeSpacingOptions.ClampSpacingToBounds(value);
public static PowerPointShapeSpacingOptions CrossAxisAlignment(PowerPointShapeSpacingOptions powerPointShapeSpacingOptions, PowerPointShapeAlignment? value) #

Sets PowerPointShapeSpacingOptions.CrossAxisAlignment: Cross-axis alignment (Top/Middle/Bottom for horizontal; Left/Center/Right for vertical).

Parameters

powerPointShapeSpacingOptions OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions required
The instance.
value OfficeIMO.PowerPoint.PowerPointShapeAlignment? required
The value.

Returns

PowerPointShapeSpacingOptions The same instance.

Examples

// C# initializer or property                                                                     // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions { CrossAxisAlignment = value };    powerPointShapeSpacingOptions.CrossAxisAlignment(value);
public static PowerPointShapeSpacingOptions PreserveAspect(PowerPointShapeSpacingOptions powerPointShapeSpacingOptions, bool value = true) #

Sets PowerPointShapeSpacingOptions.PreserveAspect: When scaling, preserves aspect ratio by scaling both width and height.

Parameters

powerPointShapeSpacingOptions OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PowerPointShapeSpacingOptions The same instance.

Examples

// C# initializer or property                                                                 // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions { PreserveAspect = value };    powerPointShapeSpacingOptions.PreserveAspect(value);
public static PowerPointShapeSpacingOptions ScaleToFitBounds(PowerPointShapeSpacingOptions powerPointShapeSpacingOptions, bool value = true) #

Sets PowerPointShapeSpacingOptions.ScaleToFitBounds: When true, scales shapes along the distribution axis to fit within bounds.

Parameters

powerPointShapeSpacingOptions OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PowerPointShapeSpacingOptions The same instance.

Examples

// C# initializer or property                                                                   // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions { ScaleToFitBounds = value };    powerPointShapeSpacingOptions.ScaleToFitBounds(value);
public static PowerPointShapeSpacingOptions Spacing(PowerPointShapeSpacingOptions powerPointShapeSpacingOptions, OfficeLength value) #

Sets PowerPointShapeSpacingOptions.Spacing: Spacing between shapes. The default is zero; layout rejects negative spacing.

Parameters

powerPointShapeSpacingOptions OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointShapeSpacingOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions { Spacing = value };    powerPointShapeSpacingOptions.Spacing(value);