PowerPointShapeStackOptionsFluent
OfficeIMO.PowerPoint
The fluent methods of PowerPointShapeStackOptions, 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
- PowerPointShapeStackOptionsFluent
Methods
public static PowerPointShapeStackOptions Alignment(PowerPointShapeStackOptions powerPointShapeStackOptions, PowerPointShapeAlignment? value) #Sets PowerPointShapeStackOptions.Alignment: Cross-axis alignment. Defaults to Top for horizontal stacks and Left for vertical stacks.
Parameters
- powerPointShapeStackOptions OfficeIMO.PowerPoint.PowerPointShapeStackOptions
- The instance.
- value OfficeIMO.PowerPoint.PowerPointShapeAlignment?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeStackOptions { Alignment = value }; powerPointShapeStackOptions.Alignment(value);public static PowerPointShapeStackOptions ClampSpacingToBounds(PowerPointShapeStackOptions powerPointShapeStackOptions, bool value = true) #Sets PowerPointShapeStackOptions.ClampSpacingToBounds: When true, reduces spacing to keep the stack within the bounds.
Parameters
- powerPointShapeStackOptions OfficeIMO.PowerPoint.PowerPointShapeStackOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeStackOptions { ClampSpacingToBounds = value }; powerPointShapeStackOptions.ClampSpacingToBounds(value);public static PowerPointShapeStackOptions Justify(PowerPointShapeStackOptions powerPointShapeStackOptions, PowerPointShapeStackJustify value) #Sets PowerPointShapeStackOptions.Justify: Justification along the stack axis.
Parameters
- powerPointShapeStackOptions OfficeIMO.PowerPoint.PowerPointShapeStackOptions
- The instance.
- value OfficeIMO.PowerPoint.PowerPointShapeStackJustify
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeStackOptions { Justify = value }; powerPointShapeStackOptions.Justify(value);public static PowerPointShapeStackOptions PreserveAspect(PowerPointShapeStackOptions powerPointShapeStackOptions, bool value = true) #Sets PowerPointShapeStackOptions.PreserveAspect: When scaling, preserves aspect ratio by scaling both width and height.
Parameters
- powerPointShapeStackOptions OfficeIMO.PowerPoint.PowerPointShapeStackOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeStackOptions { PreserveAspect = value }; powerPointShapeStackOptions.PreserveAspect(value);public static PowerPointShapeStackOptions ScaleToFitBounds(PowerPointShapeStackOptions powerPointShapeStackOptions, bool value = true) #Sets PowerPointShapeStackOptions.ScaleToFitBounds: When true, scales shapes along the stack axis to fit within bounds.
Parameters
- powerPointShapeStackOptions OfficeIMO.PowerPoint.PowerPointShapeStackOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeStackOptions { ScaleToFitBounds = value }; powerPointShapeStackOptions.ScaleToFitBounds(value);public static PowerPointShapeStackOptions Spacing(PowerPointShapeStackOptions powerPointShapeStackOptions, OfficeLength value) #Sets PowerPointShapeStackOptions.Spacing: Spacing between shapes. The default is zero; layout rejects negative spacing.
Parameters
- powerPointShapeStackOptions OfficeIMO.PowerPoint.PowerPointShapeStackOptions
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointShapeStackOptions { Spacing = value }; powerPointShapeStackOptions.Spacing(value);