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


IPageLayout.AlignToMargins Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPageLayout Interface > IPageLayout.AlignToMargins Property
ArcGIS Developer Help

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(
  Boolean* AlignToMargins
);
[C++]
Parameters
AlignToMargins [in]

AlignToMargins is a parameter of type bool AlignToMargins [out, retval]
AlignToMargins is a parameter of type 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