Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointShapeSpacingOptions

OfficeIMO.PowerPoint

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

Options for fixed spacing distribution.

Inheritance

  • object
  • PowerPointShapeSpacingOptions

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.

Constructors

public PowerPointShapeSpacingOptions() #

Properties

public OfficeLength Spacing { get; set; } #

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

public PowerPointShapeAlignment? Alignment { get; set; } #

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

public PowerPointShapeAlignment? CrossAxisAlignment { get; set; } #

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

public bool ClampSpacingToBounds { get; set; } #

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

public bool ScaleToFitBounds { get; set; } #

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

public bool PreserveAspect { get; set; } #

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