Class CADReadOptions
Represents the options for reading CAD files.
Namespace: Evergine.Runtimes.CAD
Assembly: Evergine.Runtimes.CAD.dll
Syntax
public class CADReadOptions
Properties
DXFMTextSize
Gets or sets the size for multi-line text (MText) elements for DXF files. Default value is 0.5f.
Declaration
public float DXFMTextSize { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
EnableTextRendering
Gets or sets a value indicating whether gets or sets whether to render text entities (MText, TextEntity, AttributeEntity). When set to false, text entities will be skipped during processing, improving performance for CAD files with large amounts of text. Default value is true.
Declaration
public bool EnableTextRendering { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Font
Gets or sets the font to use in CAD Texts. If null, the default font is used.
Declaration
public Font Font { get; set; }
Property Value
| Type | Description |
|---|---|
| Font |
MetersPerUnit
Gets or sets the conversion factor from CAD units to meters. If null, the default conversion factor is used.
Declaration
public float? MetersPerUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |
Precision
Gets or sets the precision level for CAD file processing. Default value is 32.
Declaration
public int Precision { get; set; }
Property Value
| Type | Description |
|---|---|
| int |