DXFReaderNETControlGridDisplay Property
|
Gets or sets how the drawing grid is displayed in the viewport.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntaxpublic GridDisplayType GridDisplay { get; set; }Public Property GridDisplay As GridDisplayType
Get
Set
public:
property GridDisplayType GridDisplay {
GridDisplayType get ();
void set (GridDisplayType value);
}member GridDisplay : GridDisplayType with get, set
PROPERTY GridDisplay AS GridDisplayType GET SET
Property Value
Type:
GridDisplayType
A
GridDisplayType value that determines the grid rendering mode.
Default is
Normal.
Remarks
This property controls the spatial extent of the grid display:
| Normal | Displays the grid across the entire visible viewport area |
| InsideDrawingLimits | Restricts the grid display to only appear within the defined drawing limits |
When set to InsideDrawingLimits, the grid will only be visible within
the rectangular boundary defined by the SetLimits(Vector2, Vector2) method. Areas outside the limits
will not display grid lines.
The grid visibility is controlled separately by the ShowGrid property.
This property only affects the rendering mode when the grid is visible.
See Also