This document is archived and information here might be outdated.  Recommended version.


IPageLayout.AlignToMargins Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IPageLayout.AlignToMargins Property

Indicates if graphics will be aligned to the margins or to each other.

[Visual Basic .NET]
Public Property AlignToMargins As Boolean
[C#]
public bool AlignToMargins {get; set;}
[C++]
HRESULT get_AlignToMargins(
  VARIANT_BOOL* AlignToMargins
);
[C++]
HRESULT put_AlignToMargins(
  VARIANT_BOOL AlignToMargins
);
[C++]

Parameters AlignToMargins [out, retval] AlignToMargins is a parameter of type VARIANT_BOOL AlignToMargins [in] AlignToMargins is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Align tools can either align select elements with each other or with the margins of the map.  When this property is set to TRUE, the align tools will snap the selected elements to the margins of the map.  When this property is set to FALSE, the align tools align the selected elements with each other.

See Also

IPageLayout Interface