Provides methods for loading a file and producing a set of CAD entities contained in the loaded file.
The following tables list the members exposed by the DWGConverter type.
Public Constructors
| Name | Description | |
|---|---|---|
|
DWGConverter | Initializes a new instance of the DWGConverter class. |
Public Properties
| Name | Description | |
|---|---|---|
|
ActiveVPort | Gets or sets active CADVPort object (inherited from CADConverter). |
|
AllArcsAsCurves | Gets or sets a value indicating how arcs are drawn. (inherited from CADConverter). |
|
Angle | Gets or sets a current rotation angle of the active VPort. (inherited from CADConverter). |
|
AutoInsert | Gets or sets a value indicating a way of processing CAD blocks. (inherited from CADConverter). |
|
Block | Gets a block to be drawn at spesified layout. (inherited from CADConverter). |
|
Blocks | Gets a collection of blocks contained in the loaded CAD file. (inherited from CADConverter). |
|
CodePage | Gets or sets a number that identifies the encoding used in the loaded CAD file. (inherited from CADConverter). |
|
DWGPROPS | A set of properties for an AutoCAD drawing (inherited from CADConverter). |
|
DefaultLayoutIndex | Gets or sets an index of layout that will be shown after opening a CAD file. (inherited from CADConverter). |
|
DimensionStyles | Gets a collection of styles used for drawing the dimensions in the loaded CAD file. (inherited from CADConverter). |
|
Entities | Gets a collection of entities contained in the loaded CAD file. (inherited from CADConverter). |
|
Extents | Gets or sets extents of the loaded CAD file. (inherited from CADConverter). |
|
HasActiveVPort | Gets or sets a value idicating whether a loaded CAD file has an active VPort. (inherited from CADConverter). |
|
HeadStruct | Gets or sets HeadVarStruct object containing settings of CAD file (inherited from CADConverter). |
|
ImageDefs | Gets a collection of raster images contained in the loaded CAD file. (inherited from CADConverter). |
|
Is3D | Checks whether a loaded CAD image is three-dimensional. (inherited from CADConverter). |
|
IsCrossoverMatrix | Gets or sets a value indicating an orientation of the used coordinate system. (inherited from CADConverter). |
|
IsHideWipeouts | Gets or sets a border visibility of all Wipeout objects in CAD file (inherited from CADConverter). |
|
IsLoadImageDefs | Gets or sets a value indicating whether XRefs to be loaded while opening a CAD file. (inherited from CADConverter). |
|
IsLoadXrefs | Gets or sets a value indicating whether XRefs to be loaded while opening a CAD file. (inherited from CADConverter). |
|
LScale | Gets or sets a scale for all linetypes in the loaded CAD file. (inherited from CADConverter). |
|
LTypes | Gets a collection of linetypes contained in the loaded CAD file. (inherited from CADConverter). |
|
Layers | Gets a collection of layers contained in the loaded CAD file. (inherited from CADConverter). |
|
Layouts | Gets a collection of layouts contained in the loaded CAD file. (inherited from CADConverter). |
|
LayoutsCount | Gets a quantity of layouts contained in the loaded CAD file. (inherited from CADConverter). |
|
Main | Gets a main section of the loaded CAD file. (inherited from CADConverter). |
|
MaxHandle | Gets or sets a maximal handle of a primitive (inherited from CADConverter). |
|
ModelLayout | Gets CADLayout object of model (inherited from CADConverter). |
|
NumberOfPartsInCircle | Gets or sets a quantity of segments to be used to draw a circle. (inherited from CADConverter). |
|
NumberOfPartsInSpline | Gets or sets a quantity of segments to be used to draw a spline. (inherited from CADConverter). |
|
Params | Gets or sets parameters to be processed by the Iterate method. (inherited from CADConverter). |
|
PointDisplayMode | Gets or sets a value indicating a mode of displaying the CADPoint entities in the loaded CAD file. (inherited from CADConverter). |
|
SHXFonts | Gets a list of SHX fonts for the loaded CAD file. (inherited from CADConverter). |
|
SHXSettings | Gets SHX fonts settings. (inherited from CADConverter). |
|
Source | Gets or sets a path to the loaded file. (inherited from CADConverter). |
|
Styles | Gets a collection of styles contained in the loaded CAD file. (inherited from CADConverter). |
|
Tables | Gets a collection of tables contained in the loaded CAD file. (inherited from CADConverter). |
|
VPort | Gets or sets a viewing direction for the ActiveVPort. (inherited from CADConverter). |
|
VPorts | Gets a list of CADVPort objects contained in CAD file (inherited from CADConverter). |
|
ViewPortCut | Gets a value indicating whether a loaded CAD file appears inside a viewport. (inherited from CADConverter). |
|
XRefs | Gets a collection of external references contained in the loaded CAD file. (inherited from CADConverter). |
Public Methods
| Name | Description | |
|---|---|---|
|
AddDrawingLayout | Creates a CADLayout with the specified name and adds this layout to the specified CAD image. (inherited from CADConverter). |
|
AddLayout | Adds object of the CADLayout class. (inherited from CADConverter). |
|
AddXRef | Creates a CADXRef object with the specified name and adds this external reference to the specified CAD image. (inherited from CADConverter). |
|
AddXRefEx | Creates a CADXRef object with the specified name and adds this external reference to the specified CAD image. (inherited from CADConverter). |
|
BlockByName | Searches blocks section and returns a CADBlock object with the specified name. (inherited from CADConverter). |
|
CleaningLayouts | Deletes all empty instances of the CADLayout class with the exception of the Model_Space layout. (inherited from CADConverter). |
|
DimensionStyleByName | Searches a dimension style with the specified name among the dimension styles from the loaded CAD file. (inherited from CADConverter). |
|
Dispose | (inherited from CADConverter). |
|
DoExtents | Sets extents of the CAD drawing. (inherited from CADConverter). |
|
Equals | (Overloaded) (inherited from Object). |
|
GetArrowTypeByName | Searches a specified dimension arrow name in array (inherited from CADConverter). |
|
GetCounts | Returns a number of elements in the specified section. (inherited from CADConverter). |
|
GetDWGCodePage | Returns a number of codepage (inherited from CADConverter). |
|
GetDWGVersion | Returns a version of DWG or DXF file (inherited from CADConverter). |
|
GetHashCode | (inherited from Object). |
|
GetLayerNames | Adds the names of all layers from the loaded CAD file to the specified list. (inherited from CADConverter). |
|
GetSection | Returns a group of objects corresponding to the specified type of CAD section. (inherited from CADConverter). |
|
GetType | (inherited from Object). |
|
Initialize | Initializes a main section of the loaded CAD file. |
|
InitializeSections | This method makes necessary initializations for sections. Call it when creating CAD object manually. (inherited from CADConverter). |
|
IntToColor | Converts an int value to the Color object. (inherited from CADConverter). |
|
Iterate | Obsolete. (inherited from CADConverter). |
|
LTypeByName | Returns a linetype with the specified name. (inherited from CADConverter). |
|
LayerByName | Returns a layer with the specified name. (inherited from CADConverter). |
|
LayoutByName | Searches layouts section and returns a CADLayout object with the specified name. (inherited from CADConverter). |
|
LinesByName | Returns a description of linetype with the specified name. (inherited from CADConverter). |
|
Loads | Loads the specified entity to the CADConverter. (inherited from CADConverter). |
|
OnAfterRead | Raises a AfterReadEvent. (inherited from CADConverter). |
|
OnBeforeRead | Raises a BeforeReadEvent. (inherited from CADConverter). |
|
OnCreate | Raises an OnCreateEvent. (inherited from CADConverter). |
|
OnInsert | Raises an OnInsertEvent. (inherited from CADConverter). |
|
OnResolveXRef | Raises an OnResolveXRefEvent. (inherited from CADConverter). |
|
OnViewPort | Raises an OnViewPortEvent. (inherited from CADConverter). |
|
OnXRef | Raises an OnXRefEvent. (inherited from CADConverter). |
|
ReferenceEquals | (inherited from Object). |
|
SetHandle | Sets a handle for a CADEntity object. (inherited from CADConverter). |
|
SetSection | Sets a CADGroup object to the specified section type. (inherited from CADConverter). |
|
SortEntities | Sorts CAD entities by their handles according to the CADSortEntsTable loaded from the CAD file. (inherited from CADConverter). |
|
StyleByName | Returns a style with the specified name. (inherited from CADConverter). |
|
StyleByPrimaryFont | Returns a style by PrimaryFont name. (inherited from CADConverter). |
|
ToString | (inherited from Object). |
Public Events
| Name | Description | |
|---|---|---|
|
AfterReadEvent | Occurs after reading a DXF file. (inherited from CADConverter). |
|
BeforeReadEvent | Occurs before reading a DXF file. (inherited from CADConverter). |
|
OnCreateEvent | Occurs when an instance of each loaded CAD entity is created. (inherited from CADConverter). |
|
OnInsertEvent | Occurs when an object of the CADInsert class or its descendants inserted into a CAD image. (inherited from CADConverter). |
|
OnResolveXRefEvent | Occurs when xref filename not found. (inherited from CADConverter). |
|
OnViewPortEvent | Occurs when loading a CADViewPort object into a CAD image is complete. (inherited from CADConverter). |
See Also