Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointShapeStackOptions

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

Options for stacking shapes.

Inheritance

  • object
  • PowerPointShapeStackOptions

Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 4

Constructors

public PowerPointShapeStackOptions() #

Properties

public OfficeLength Spacing { get; set; } #

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

public PowerPointShapeAlignment? Alignment { get; set; } #

Cross-axis alignment. Defaults to Top for horizontal stacks and Left for vertical stacks.

public PowerPointShapeStackJustify Justify { get; set; } #

Justification along the stack axis.

public bool ClampSpacingToBounds { get; set; } #

When true, reduces spacing to keep the stack within the bounds.

public bool ScaleToFitBounds { get; set; } #

When true, scales shapes along the stack axis to fit within bounds.

public bool PreserveAspect { get; set; } #

When scaling, preserves aspect ratio by scaling both width and height.