OfficeIMO

API Reference

Class

PowerPointShapeSpacingOptions

Namespace OfficeIMO.PowerPoint
Assembly OfficeIMO.PowerPoint
Modifiers sealed

Options for fixed spacing distribution.

Inheritance

  • Object
  • PowerPointShapeSpacingOptions

Constructors

public PowerPointShapeSpacingOptions() #

Properties

public Int64 SpacingEmus { get; set; } #

Spacing between shapes in EMUs.

public Nullable<PowerPointShapeAlignment> Alignment { get; set; } #

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

public Nullable<PowerPointShapeAlignment> CrossAxisAlignment { get; set; } #

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

public Boolean ClampSpacingToBounds { get; set; } #

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

public Boolean ScaleToFitBounds { get; set; } #

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

public Boolean PreserveAspect { get; set; } #

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