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
Syntaxpublic bool ReadGEO(
string GEOFileName,
bool ContoursToPolylines = true,
short Precision = 4
)
Public Function ReadGEO (
GEOFileName As String,
Optional ContoursToPolylines As Boolean = true,
Optional Precision As Short = 4
) As Boolean
public:
bool ReadGEO(
String^ GEOFileName,
bool ContoursToPolylines = true,
short Precision = 4
)
member ReadGEO :
GEOFileName : string *
?ContoursToPolylines : bool *
?Precision : int16
(* Defaults:
let _ContoursToPolylines = defaultArg ContoursToPolylines true
let _Precision = defaultArg Precision 4
*)
-> bool
METHOD ReadGEO(
GEOFileName AS STRING,
ContoursToPolylines AS LOGIC := TRUE,
Precision AS SHORT := 4
) AS LOGIC
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:
BooleanTrue 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