ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / GridOptions Class
Properties Methods


In This Topic
    GridOptions Class Members
    In This Topic

    The following tables list the members exposed by GridOptions.

    Public Properties
     NameDescription
    Public Property Gets and sets whether or not the grid display uses Dynamic scaling  
    Public Property Gets and sets the grid fill color  
    Public Property Gets and sets the color of the grid lines  
    Public Property Gets and sets the major grid interval count  
    Public Property Gets and sets the minimum display scale at which the grid will be visible in a 2d map  
    Public Property Gets and sets the maximum display scale at which the grid will be visible in a 2d map  
    Public Property Gets and sets the units for the grid spacing  
    Public Property Gets and sets whether the cursor/mouse pointer will snap perpendicular to a grid line from a previous vertex  
    Public Property Gets and sets whether or not the grid fill will be used  
    Public Property Gets and sets whether the fill will be applied to the grid planes  
    Public Property Gets and sets whether or not the grid lattice is on.  
    Public Property Gets whether the grid will use lines or points  
    Public Property Gets and sets whether or not a horizontal plane will be shown on the grid  
    Public Property Gets and sets whether or not a vertical plane will be shown to the left of the grid  
    Public Property Gets and sets whether or not a vertical plane will be shown to the right of the grid  
    Public Property Gets and sets whether the grid will rotate with the map  
    Public Property Gets and sets whether the cursor/mouse pointer will snap to grid lines and grid intersections based on the active snap settings  
    Top
    Public Methods
     NameDescription
    Public Method Gets the current grid origin  
    Public Method Gets the current rotation angle of the grid  
    Public MethodGets the grid spacing in the output GridSpacingUnits  
    Public Method Gets the grid spacing in meters  
    Public Method Gets the grid spacing in the grid spacing distance units  
    Public Method Gets the grid spacing in meters  
    Public Method Resets the grid options to original default values  
    Public MethodOverloaded.   
    Public Method Set the grid rotation  
    Public Method Sets the grid spacing and grid spacing units  
    Public Method Sets the grid spacing in meters.  
    Top
    See Also