This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPageLayout Interface > IPageLayout.AlignToMargins Property (ArcObjects .NET 10.4 SDK) |
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
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.