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


IPageLayoutSnap Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPageLayoutSnap Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IPageLayoutSnap Interface

Provides access to members that control snap agents that are used with PageLayout.

Product Availability

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

Members

Name Description
Read-only property Name The name of the snap agent.
Write-only property PageLayout The PageLayout that this snap agent is associated with.
Method SnapX Indicates if the point is snapped in the horizontal direction.
Method SnapY Indicates if the point is snapped in the vertical direction.

Inherited Interfaces

Interfaces Description
IGraphicSnap Provides access to members that control snapping graphics.

CoClasses that implement IPageLayoutSnap

CoClasses and Classes Description
GridSnap Snap to grid agent.
GuideSnap Snap to guides agent.
MarginSnap Snap to margins agent.
RulerSnap Snap to ruler agent.

Remarks

This interface is used to tie the snap agents to the PageLayout object. If this property is not set, the graphic snap agents will not work properly.

Because IPageLayoutSnap inherits from IGraphicSnap, all the methods on IGraphicSnap are directly available on IPageLayoutSnap.