Represents a CAD drawing and provides methods for drawing all loaded CAD objects.

The following tables list the members exposed by the CADImage type.

Name Description
Public constructor CADImage Initializes a new instance of the CADImage class.
Top
Name Description
Public property AbsDepth Gets an absolute depths of the CADImage.
Public property AbsHeight Gets an absolute height of the CADImage.
Public property AbsWidth Gets an absolute width of the CADImage.
Public property Angle Gets or sets the angle for this CADImage object visualization.
Public property BackgroundColor Gets or sets a background color of this CADImage.
Public property BorderSize Gets or sets a border size in pixels.
Public property BorderType Gets or sets a border type.
Public property CAD2DPainter Provides 2D drawing functionality based.
Public property Center Gets or sets CADImage center point.
Public property Charset Gets or sets a character set for the text entities.
Public property Static CodePage Gets or sets a number that identifies the encoding used in the loaded CAD file.
Public property Converter Gets a converter that loads CAD entities from the file to draw them in the current CADImage.
Public property CurrentLayer Gets or sets a current layer for the CADImage.
Public property CurrentLayout Gets or sets a current layout for the CADImage.
Public property CurrentLayoutIndex Gets an index of the current layout.
Public property CurrentMarker Gets a currently selected marker.
Public property DefaultColor Gets or sets a default color for the CADImage.
Public property DefaultLayoutIndex Gets or sets a default layout index.
Public property DimensionsVisible Gets or sets a value indicating whether dimensions on the drawing are visible.
Public property DrawMode Gets or sets a current drawing mode.
Public property EnableSnap Gets or sets enablement of snap mode
Public property Extents Gets or sets an extents of the CADImage object.
Public property FileInf Gets information about a currently open file by means of the FileInfo class.
Public property GDIPainter Provides drawing functionality based on GDI+.
Public property GraphicsOutMode Specifies image draw mode.
Public property InterpolationMode Gets or sets the interpolation mode associated with current Graphics object
Public property Is3D Gets a value indicating whether this CADImage is three-dimensional.
Public property IsDraw3DAxes Gets or sets a value indicating whether 3D axes are shown on the drawing.
Public property IsDrawingRotated Gets a value indicating whether the CADImage has been rotated.
Public property IsShowBackground Gets or sets a value indicating using of a BackgroundColor.
Public property IsShowLineWeight Gets or sets a value indicating whether a thickness of lines in the CADImage is determined by the file data.
Public property IsSnapObject Gets a value, which shows if there is an object for snapping under current coordinates
Public property IsStopped For internal use.
Public property IsWithoutBorder Gest or sets a value indicating whether to draw the CADImage without borders.
Public property IsWithoutMargins Gets or sets a value indicating whether to draw the CADImage without margins.
Public property Static LastLoadedFilePath Specifying of the search directory (used for X-Refs, ImageEnt)
Public property LayersCount Gets a quantity of layers in this CADImage.
Public property Layouts Gets a collection of layouts in the current CADImage.
Public property LayoutsCount Gets a quantity of layouts in this CADImage.
Public property LineScaled Obsolete. Gets or sets a value indicating whether a width of lines to draw all entities in the drawing is specified by the file data.
Public property LineWeightScale Gets or sets a scale for drawing lines.
Public property MMToPixelX Gets or sets a value corresponding to amount of millimeters per one pixel.
Public property NavigateDrawMatrix
Public property NullWidth Gets or sets default thickness for lines used to draw a CADImage.
Public property NumberOfPartsInCircle Gets or sets a quantity of segments to be used to draw a circle.
Public property Painter Provides image drawing functionality.
Public property PrintDialog Gets or sets print dialog
Public property PureExtents Gets CADImage extents without margins.
Public property RecalcDotSingPts Should be assigned to true to correct render linetypes with shapes or text. Set to true before rendering when create or change linetype with shape or text
Public property ResizeDisproportionateDrawing For internal use
Public property SHXSearchPaths Gets or sets paths for searching SHX fonts.
Public property SearchSHXPaths Gets or sets a value specifying whether SHX paths will be searched for the fonts.
Public property SelectEntitiesCount Gets the number of selected entities
Public property SelectedEntities Gets or sets a list of selected entities
Public property SelectionMode Gets or sets a state of the Selection tool.
Public property Selector Provides selection functionality.
Public property SkipMMtoPixel For specific use
Public property SnapCurrent
Public property SnapOptions Represents Snap options for the CADImage object
Public property SnapRealPoint Gets a current point in absolute coordinates (drawing coordinates)
Public property SnapScreenPoint Gets current point in display coordinates
Public property SnapSize Gets or sets snap size
Public property TTFSmoothing Gets or sets a value indicating whether TTF fonts are smoothed.
Public property TextVisible Gets or sets a value indicating whether the texts in the CADImage are visible.
Public property UndoMode Gets or sets whether undo/redo is disable or enable for professional version
Public property UseDoubleBuffering Outdated. Does nothing
Public property UseLayerPriority
Public property UseMultyTTFFonts Gets or sets a value indicating whether a multimode is used for showing symbols.
Public property UseNullWidth Specifies if default width will be used instead of entity width.
Public property UseSHXFonts Specifies if SHX fonts will be used for visualization.
Public property UseTTFFonts Specifies if TTF fonts will be used for visualization.
Public property UseWinEllipse Gets or sets a value indicating whether arcs and circles in the CADImage are drawn with GDI+ drawing methods without linearization.
Top
Name Description
Public method ActiveVPort Returns drawing area visualized with the active VPort.
Public method AddScaledDXF Adds a scaled external reference to the model space of the specified CAD image.
Public method AddScaledDXFEx Adds a scaled external reference to the current layout of the specified CAD image.
Public method AddToUndoList (Overloaded) Adds operation "create new Entity" to undo list
Public method ChangeDrawMode Initializes a new graphic class object if current mode changed.
Public method ChangeEntities
Public method ChangeGraphicsMode Changes image drawing mode.
Public method ChangePositionSelectedEntities Changes position of the selected entities
Public method ChangePositionSelectedEntity Changes a position of the selected entity.
Public method ClearBuffer Outdated. Does nothing
Public method ClearMarkers Clears a collection of markers.
Public method ClearRedoCollection Clears redo entity collection
Public method ClearSelectCollection Clears a collection of the selected entities.
Public method ClearSelection Clears a list of the selected entities.
Public method ClearSnapTrace (Overloaded) Clears last drawn snap drawing element
Public method ClearUndoCollection Clears undo entity collection
Public method CopyEntities (Overloaded) Copies selected entities to the clipboard
Public method CorrectByGrid (Overloaded) Reduces a point location on screen to the grid node when the grid is active
Public method CorrectByGridAndOrtho Reduces a point relocation sizes on screen to the grid cell sizes when the grid is active
Public method Static CreateImageByExtension Creates specialised CADImage object for specified file extention
Public method CutEntities (Overloaded) Cuts selected entities from collection and paste them to the clipboard
Public method Dispose Disposes a CADImage object.
Public method DoSelectEntities (Overloaded) Selects inserted list of entities
Public method DoSelectEntity Selects inserted entity
Public method Draw (Overloaded) Draws a CADImage.
Public method DrawACISEntity Draws ACISEntity object
Public method DrawChangeEntity Changes a position of the marker designating the selected entity.
Public method DrawMoveEntityTrace Draws entities on their offsetting
Public method DrawSnapTrace Draws snap icon in case of proximity of object to current coordinates
Public method EmfConvertToDXF (Overloaded) Converts emf file to dxf file
Public method Equals (Overloaded) (inherited from Object).
Public method ExportToMetafile (Overloaded) Exports a CAD drawing to Windows Enhanced metafile.
Public method GetAbsPoint Converts display coordinates into absolute coordinates of a design
Public method GetCADCoords Returns coordinates of a point on the drawing.
Public method GetCenter Returns the center point of a current layout
Public method GetExtents Calculates the current dimensions of the CADImage.
Public method GetHashCode (inherited from Object).
Public method GetLayerColor Gets layer color by index
Public method GetLayerFreeze Determines whether the layer (CADLayer) is frozen.
Public method GetLayerName Gets a name of the layer that has the specified index in the collection of layers.
Public method GetLayerVisible Determines whether a layer is visible
Public method GetLayoutName Gets a name of the layout that has the specified index in the collection of layouts.
Public method GetPoint Transforms a three-dimensional CAD point into a two-dimensional screen point.
Public method GetRealImageMatrix
Public method GetRealImagePoint For internal use.
Public method GetRealSnapPoint Smooths a point in absolute coordinates by the entity
Public method GetSelectEntityRegion Returns the selected area of the image.
Public method GetSnapObject (Overloaded)
Public method GetType (inherited from Object).
Public method GetVPortExtents Returns extents of the active VPort reduced to the specified size
Public method InitialNewImage (Overloaded) Initializes a new image with the default size
Public method InvalidateSelectEntity Redraws a selected entity.
Public method InvalidateSelectedEntities (Overloaded) Redraws a list of the selected entities
Public method LoadFromFile Uses for redefining in a descendant classes, define loading image from the specified file.
Public method LoadFromStream Loads a CAD image stored in the specified stream.
Public method LoadFromWeb Loads CAD image from hyperlink
Public method MultipleSelect Providing CAD image entities' multiple selection within a specified rectangle.
Public method MultipleSelectExt Selects all entities inside the inserted rectangle
Public method PasteEntities Pastes entities from the clipboard
Public method PasteEntitiesExt Pastes entities from the clipboard
Public method Print Prints a current CAD image.
Public method RealScaleDouble Gets the displaying scale of the image
Public method Redo Redo change
Public method Static ReferenceEquals (inherited from Object).
Public method RefreshCurrentLayout Refresh current layout.
Public method RefreshSnapTrace Refreshes a region of the last drawn snap drawing element
Public method RemoveEntity (Overloaded) Removes CADEntity object.
Public method ResetViewMatrix
Public method RotDefault Rotates the drawing to the default view.
Public method RotToView Rotates a CAD image to get a specified view.
Public method Rotate Rotates objects in the current drawing.
Public method SaveAsDXF Saves a current CAD image in DXF format.
Public method SaveImageToClipboard (Overloaded) Writes a visible part of the current CAD image to the clipboard as a raster image.
Public method SaveToFile (Overloaded) Saves a part of the current CAD image to the file of the specified format.
Public method SaveToStream (Overloaded) Writes a visible part of the current CAD image to the specified stream as a raster image.
Public method Select Selects an entity of the CAD image at the specified point.
Public method SelectExt Selects an entity of the CAD image at the specified point.
Public method SetCenter Sets CADImage center point.
Public method SetCurrentLayout Sets a current layout of this CADImage.
Public method SetDrawMatrix
Public method SetLayerColor (Overloaded) Sets a color for layer (CADLayer) specified by index
Public method SetLayerFreeze (Overloaded) Sets freeze parameter for CADLayer
Public method SetLayerVisible (Overloaded) Sets a visibility of the layer.
Public method SetNewEntityMarkerPos Sets a new position for the selected entity. The entity's new position is defined by the position of the marker.
Public method SetNewMMToPixel Sets a quantity of millimeters per pixel for the specified Graphics object.
Public method SetNewPosEntitiesExt Sets a new position for the specified entities
Public method SetNewPosEntity Sets a new position for the specified entity.
Public method Stop For internal use.
Public method ToString (inherited from Object).
Public method Undo Undo change
Top
Name Description
Public field Static EntityBuffer Represents buffer for CADEntityCollection storing.
Public field visibleArea Represents CADImage visible area.
Top