Click or drag to resize

DXFReaderNETControlReadGEO Method

Reads and imports geometry data from a GEO format file into the current drawing.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntax
public bool ReadGEO(
	string GEOFileName,
	bool ContoursToPolylines = true,
	short Precision = 4
)

Parameters

GEOFileName
Type: SystemString
The full path to the GEO file to read.
ContoursToPolylines (Optional)
Type: SystemBoolean
If true, converts contour entities to polylines; otherwise preserves original contour format. Default is true.
Precision (Optional)
Type: SystemInt16
The decimal precision for coordinate values. Default is 4.

Return Value

Type: Boolean
True if the GEO file was successfully read and imported; otherwise, false.
Remarks
This method imports geometric entities from GEO format files, which are commonly used in civil engineering and surveying applications. The method can optionally convert contours to polylines for easier manipulation.
See Also