Click or drag to resize

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
Syntax
public GridDisplayType GridDisplay { 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:
NormalDisplays the grid across the entire visible viewport area
InsideDrawingLimitsRestricts 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