Represents CAD files editor component
The following tables list the members exposed by the CADEditorControl type.
Public Constructors
| Name | Description | |
|---|---|---|
|
CADEditorControl | Initializes a new instance of the CADEditorControl class. |
Public Properties
| Name | Description | |
|---|---|---|
|
AboutForm | Gets 'About' window |
|
AccessibilityObject | (inherited from Control). |
|
AccessibleDefaultActionDescription | (inherited from Control). |
|
AccessibleDescription | (inherited from Control). |
|
AccessibleName | (inherited from Control). |
|
AccessibleRole | (inherited from Control). |
|
Active | Gets a parameter that indicates if the MainForm window is active |
|
ActiveControl | (inherited from ContainerControl). |
|
AllowDrop | (inherited from Control). |
|
Anchor | (inherited from Control). |
|
AutoScaleDimensions | (inherited from ContainerControl). |
|
AutoScaleMode | (inherited from ContainerControl). |
|
AutoScroll | (inherited from ScrollableControl). |
|
AutoScrollMargin | (inherited from ScrollableControl). |
|
AutoScrollMinSize | (inherited from ScrollableControl). |
|
AutoScrollOffset | (inherited from Control). |
|
AutoScrollPosition | (inherited from ScrollableControl). |
|
AutoSize | (inherited from UserControl). |
|
AutoSizeMode | (inherited from UserControl). |
|
AutoValidate | (inherited from UserControl). |
|
BackColor | (inherited from Control). |
|
BackgroundImage | (inherited from Control). |
|
BackgroundImageLayout | (inherited from Control). |
|
BindingContext | (inherited from ContainerControl). |
|
BorderStyle | (inherited from UserControl). |
|
Bottom | (inherited from Control). |
|
Bounds | (inherited from Control). |
|
CanFocus | (inherited from Control). |
|
CanSelect | (inherited from Control). |
|
Capture | (inherited from Control). |
|
CausesValidation | (inherited from Control). |
|
CheckForIllegalCrossThreadCalls | (inherited from Control). |
|
ClientRectangle | (inherited from Control). |
|
ClientSize | (inherited from Control). |
|
ClipRectangle | Gets or sets an area selection tool |
|
ColorDraw | Gets a parameter to draw an image in color or black-and-white mode |
|
CompanyName | (inherited from Control). |
|
Container | (inherited from Component). |
|
ContainsFocus | (inherited from Control). |
|
ContextMenu | (inherited from Control). |
|
ContextMenuStrip | (inherited from Control). |
|
Controls | (inherited from Control). |
|
CreateNewEntity | Gets true if entity creating mode is enabled at the moment |
|
Created | (inherited from Control). |
|
CurrentAutoScaleDimensions | (inherited from ContainerControl). |
|
Cursor | (inherited from Control). |
|
DataBindings | (inherited from Control). |
|
DefaultBackColor | (inherited from Control). |
|
DefaultFont | (inherited from Control). |
|
DefaultForeColor | (inherited from Control). |
|
DeviceDpi | (inherited from Control). |
|
DimensionVisible | Gets or sets dimentions visibility |
|
DisplayRectangle | (inherited from ScrollableControl). |
|
Disposing | (inherited from Control). |
|
Dock | (inherited from Control). |
|
DockPadding | (inherited from ScrollableControl). |
|
EditorCADPictureBox | Gets CADPictureBox control, where an image is drawn |
|
EnableSnap | Gets or sets enabling or disabling of the snap |
|
Enabled | (inherited from Control). |
|
EndPoint | Gets or sets the point that belongs to entity after offsetting or editing by marker |
|
EntitiesCreator | Gets or sets the visual entities creating object |
|
EntityPropertyGrid | Gets or sets entity properties grid |
|
EntityPropertyGridVisible | Gets or sets visibility of the entity properties grid |
|
Focused | (inherited from Control). |
|
Font | (inherited from Control). |
|
ForeColor | (inherited from Control). |
|
Handle | (inherited from Control). |
|
HasChildren | (inherited from Control). |
|
Height | (inherited from Control). |
|
HorizontalScroll | (inherited from ScrollableControl). |
|
Image | Gets CADImage object that corresponds the main class for reading/drawing/viewing of cad file contents |
|
ImageBaseSize | Gets or sets base dimensions of the image drawing area |
|
ImageDRect | Gets the current size and position of the drawing image |
|
ImagePosition | Gets or sets a position of the drawing image |
|
ImageRectangleF | Gets the current size and position of the drawing image as |
|
ImageScale | Gets or sets scale of the drawing image |
|
ImeMode | (inherited from Control). |
|
InFileName | Gets or sets a name of the file to open |
|
InvokeRequired | (inherited from Control). |
|
IsAccessible | (inherited from Control). |
|
IsDisposed | (inherited from Control). |
|
IsHandleCreated | (inherited from Control). |
|
IsMirrored | (inherited from Control). |
|
IsRulerActive | |
|
LayerForm | Gets or sets layers settings window |
|
LayoutEngine | (inherited from Control). |
|
Left | (inherited from Control). |
|
Location | (inherited from Control). |
|
Margin | (inherited from Control). |
|
MaximumSize | (inherited from Control). |
|
MeasuresTools | |
|
MinimumSize | (inherited from Control). |
|
ModifierKeys | (inherited from Control). |
|
MouseButtons | (inherited from Control). |
|
MousePosition | (inherited from Control). |
|
Name | (inherited from Control). |
|
OptionsForm | Gets or sets settings window |
|
OutFileName | Gets or sets a name of the file to save |
|
Padding | (inherited from Control). |
|
Parent | (inherited from Control). |
|
ParentForm | (inherited from ContainerControl). |
|
PictureBox | Gets CADPictureBox control that is used for visualization of drawings. |
|
PreferredSize | (inherited from Control). |
|
PreviousImagePosition | Gets or sets previous position of the drawing image |
|
PreviousImageScale | Gets or sets previous scale of the drawing image |
|
PrintingForm | Gets or sets preview and printing settings window |
|
ProductName | (inherited from Control). |
|
ProductVersion | (inherited from Control). |
|
PropertyEntityPanelVisible | Gets or sets visibility of the entity properties panel |
|
RealScale | Gets displaying the realscale of the image |
|
RealScaleDouble | Gets the displaying scale of this image |
|
RecreatingHandle | (inherited from Control). |
|
RegForm | Gets the registration window |
|
Region | (inherited from Control). |
|
RegistrationForm | Gets or sets the registration window |
|
Right | (inherited from Control). |
|
RightToLeft | (inherited from Control). |
|
SHXForm | Gets or sets shx fonts settings window |
|
SetRasterSizeForm | Gets or sets the settings window for raster images saving |
|
ShowLineWeight | Gets or sets lines weight visibility |
|
Site | (inherited from Control). |
|
Size | (inherited from Control). |
|
StartPoint | Gets or sets the entity point which was selected before offsetting or editing by marker |
|
StatusBarPanel | Gets or sets status bar panel |
|
StatusBarPanelVisible | Gets or sets visibility of the status bar panel |
|
SuppressVisualMove | Prevents entity move by mouse if true |
|
TabIndex | (inherited from Control). |
|
TabStop | (inherited from Control). |
|
Tag | (inherited from Control). |
|
Text | (inherited from UserControl). |
|
TextVisible | Gets or sets text visibility |
|
ToolsPanel | Gets or sets tools panel |
|
ToolsPanelVisible | Gets or sets tools panel visibility |
|
Top | (inherited from Control). |
|
TopLevelControl | (inherited from Control). |
|
UseWaitCursor | (inherited from Control). |
|
VerticalScroll | (inherited from ScrollableControl). |
|
Visible | (inherited from Control). |
|
Width | (inherited from Control). |
|
WindowTarget | (inherited from Control). |
Public Methods
| Name | Description | |
|---|---|---|
|
BeginInvoke | (Overloaded) (inherited from Control). |
|
Black_Click | Paints the CAD image background in the black color. |
|
BringToFront | (inherited from Control). |
|
CalculateNewSizeImage | Recalculates the current image sizes. |
|
ChancelMove | Verifies suitability of the entity moving |
|
ChangeControlState | Sets the current mode of controls |
|
ChangeDimensionsVisiblity | Shows or hides dimensions in the current CAD image. |
|
ChangeEntityOnMouseMove | Changes CADEntity position by changing marker position or entity dragging |
|
ChangeShowLineWeight | Alternately changes a boolean value that indicates if a thickness of lines is determined by the file data. |
|
ChangeTextsVisiblity | Shows or hides texts in the current CAD image. |
|
ChangeTreeVisiblity | Shows or hides a panel that contains the entities tree. |
|
ClearCADImage | Clears current CADImage object |
|
ClearSelection | Clears selection and redraws entities |
|
CloseFile | Closes a currently open CAD file. |
|
Contains | (inherited from Control). |
|
CopyEntities | Copies selected entities to the clipboard |
|
CreateControl | (inherited from Control). |
|
CreateGraphics | (inherited from Control). |
|
CreateNewImage | (Overloaded) Create a new CADImage object |
|
CreateObjRef | (inherited from MarshalByRefObject). |
|
CutEntities | Cuts selected entities from collection and paste them to the clipboard |
|
DeleteSelectedEntities | Deletes selected entities |
|
Dispose | (inherited from Component). |
|
DoBlackColor | Displays a CAD image in black and white colors. |
|
DoDragDrop | (inherited from Control). |
|
DoNormalColor | Displays a CAD image in all used colors. |
|
DoResize | (Overloaded) |
|
DoZoomIn | Increases a scale of the CAD image in two times. |
|
DoZoomOut | Decreases a scale of the CAD image in two times. |
|
DrawCADImage | Draws a CAD image from the loaded CAD file. |
|
DrawToBitmap | (Overloaded) (inherited from Control). |
|
EnableButton | Enables or disables buttons of the toolbar and menu items of the main menu. |
|
EndAddEntity | Finishes adding of the CADEntity |
|
EndInvoke | (inherited from Control). |
|
Equals | (Overloaded) (inherited from Object). |
|
FindForm | (inherited from Control). |
|
Focus | (inherited from Control). |
|
FromChildHandle | (inherited from Control). |
|
FromHandle | (inherited from Control). |
|
GetChildAtPoint | (Overloaded) (inherited from Control). |
|
GetContainerControl | (inherited from Control). |
|
GetHashCode | (inherited from Object). |
|
GetLifetimeService | (inherited from MarshalByRefObject). |
|
GetNextControl | (inherited from Control). |
|
GetPreferredSize | (inherited from Control). |
|
GetRealPoint | (Overloaded) Gets a three-dimensional point of the current CAD image from the specified screen point. |
|
GetType | (inherited from Object). |
|
Hide | (inherited from Control). |
|
InitializeLifetimeService | (inherited from MarshalByRefObject). |
|
Invalidate | (Overloaded) (inherited from Control). |
|
InvalidateImage | Invalidates a specific region of the control and causes a paint message to be sent to the control. |
|
Invoke | (Overloaded) (inherited from Control). |
|
IsKeyLocked | (inherited from Control). |
|
IsMnemonic | (inherited from Control). |
|
LoadFile | (Overloaded) Loads a CAD file into the main application's form. |
|
LoadSettings | Loads saved application settings |
|
LogicalToDeviceUnits | (Overloaded) (inherited from Control). |
|
MoveEntity | Moves a selected entitiy to the specified position |
|
NewProtectionSettings | Fills the specified list with the current protection settings. |
|
OnChangeBackgroundColor | Invokes ChangeBackgroundColor event |
|
OnChangeDimensionShow | Invokes ChangeDimensionShow event |
|
OnChangeDrawingColors | Invokes ChangeDrawingColors event |
|
OnChangeEntityPanelVisible | Invokes ChangeEntityPanelVisible event |
|
OnChangeEntityPropertyGridVisible | Invokes ChangeEntityPropertyGridVisible event |
|
OnChangeLanguage | Invokes ChangeLanguage event |
|
OnChangeLineWeightShow | Invokes ChangeLineWeightShow event |
|
OnChangeSnapEnable | Invokes ChangeSnapEnables event |
|
OnChangeStatusBarVisible | Invokes ChangeStatusBarVisible event |
|
OnChangeTextShow | Invokes ChangeTextShow event |
|
OnChangeToolsPanelVisible | Invokes ChangeToolsPanelVisible event |
|
OnEndLoadFile | Invokes EndLoadFile event |
|
PasteEntities | Pastes entities from the clipboard |
|
PerformAutoScale | (inherited from ContainerControl). |
|
PerformLayout | (Overloaded) (inherited from Control). |
|
PointToClient | (inherited from Control). |
|
PointToScreen | (inherited from Control). |
|
PreProcessControlMessage | (inherited from Control). |
|
PreProcessMessage | (inherited from Control). |
|
PutToClipboard | Saves image to Clipboard |
|
ReOpen | Reopens a file after selecting or deselecting SHX fonts. |
|
RectangleToClient | (inherited from Control). |
|
RectangleToScreen | (inherited from Control). |
|
RedoChangeEntity | Performs the last undid changing of the entity |
|
ReferenceEquals | (inherited from Object). |
|
Refresh | (inherited from Control). |
|
Register | Registers the CADImportNet library. |
|
ResetBackColor | (inherited from Control). |
|
ResetBindings | (inherited from Control). |
|
ResetCursor | (inherited from Control). |
|
ResetFont | (inherited from Control). |
|
ResetForeColor | (inherited from Control). |
|
ResetImeMode | (inherited from Control). |
|
ResetRightToLeft | (inherited from Control). |
|
ResetScaling | Obsolete. |
|
ResetText | (inherited from Control). |
|
ResumeLayout | (Overloaded) (inherited from Control). |
|
SaveAsDXF | Saves image as DXF |
|
SaveAsImage | (Overloaded) Saves current image |
|
SaveProtectionSettings | Makes the specified settings the current ones. |
|
SaveSettings | Saves application settings |
|
Scale | (Overloaded) (inherited from Control). |
|
ScaleBitmapLogicalToDevice | (inherited from Control). |
|
ScrollControlIntoView | (inherited from ScrollableControl). |
|
Select | (Overloaded) (inherited from Control). |
|
SelectEntity | Selects an entity by the specified coordinates. Sets a number of settings on entity selection. |
|
SelectNextControl | (inherited from Control). |
|
SendToBack | (inherited from Control). |
|
SetAllFormsLanguageSettings | Sets the current language file for all child forms |
|
SetAutoScrollMargin | (inherited from ScrollableControl). |
|
SetBlackBackGround | Sets black color for CADPictureBox background and appropriate lines color on default |
|
SetBounds | (Overloaded) (inherited from Control). |
|
SetCADImageOptions | |
|
SetColorLayer | Sets a layer color by the specified layer index |
|
SetFreezeLayer | Sets CADLayer.Frozen parameter for the layer by the specified layer index |
|
SetNewEntityPosition | Sets a new position for CADEntity on offsetting using start and end positions |
|
SetNewMarkerPosition | Sets a new position for CADEntity on editing by markers using start and end positions |
|
SetScale | Sets the new scale factor |
|
SetSizePictureBox | Obsolete. |
|
SetSnapMode | Sets the snap mode |
|
SetVisibleLayer | Sets CADLayer.Visible parameter for the layer by the specified layer index |
|
SetWhiteBackGround | Sets white color for CADPictureBox background and appropriate lines color on default |
|
Shift | Obsolete. |
|
Show | (Overloaded) (inherited from Control). |
|
ShowCustomPrintPreviewDialog | Shows CustomPrintPreview dialog |
|
ShowPrintPreviewDialog | Shows PrintPreview dialog |
|
ShowRect | Obsolete. |
|
SuspendLayout | (inherited from Control). |
|
ToString | (inherited from Component). |
|
UndoChangeEntity | Undoes last changing of the entity |
|
Unregister | Closes all registration resources. |
|
Update | (inherited from Control). |
|
UseClipRect | Enables ClipRect tool for set of entities selection |
|
Validate | (Overloaded) (inherited from ContainerControl). |
|
ValidateChildren | (Overloaded) (inherited from UserControl). |
|
ViewLayouts | Creates a list of layouts of the CAD image and sets the current layout. |
|
White_Click | Paints the CAD image background in the white color. |
|
Zoom | (Overloaded) |
|
ZoomScale | |
|
chLay_ItemCheck | Makes the layers of the loaded CAD image visible or invisible. |
Public Events
| Name | Description | |
|---|---|---|
|
AutoSizeChanged | (inherited from UserControl). |
|
AutoValidateChanged | (inherited from UserControl). |
|
BackColorChanged | (inherited from Control). |
|
BackgroundImageChanged | (inherited from Control). |
|
BackgroundImageLayoutChanged | (inherited from Control). |
|
BindingContextChanged | (inherited from Control). |
|
CausesValidationChanged | (inherited from Control). |
|
ChangeBackgroundColor | Occurs when the background of the drawing was changed |
|
ChangeDimensionShow | Occurs when displaying of the dimensions was enabled or disabled |
|
ChangeDrawingColors | Occurs when the color type of the drawing was changed (black-and-white/color) |
|
ChangeEntityPanelVisible | Occurs when visibility of the entity tree was changed |
|
ChangeEntityPropertyGridVisible | Occurs when visibility of the entity properties inspector was changed |
|
ChangeLanguage | Appears when the language of the application was changed |
|
ChangeLineWeightShow | Occurs when displaying of the lines weight was enabled or disabled |
|
ChangeSnapEnable | Occurs when the snap was enabled or disabled |
|
ChangeStatusBarVisible | Occurs when visibility of the status panel was changed |
|
ChangeTextShow | Occurs when displaying of the texts was enabled or disabled |
|
ChangeToolsPanelVisible | Occurs when visibility of the tool panel was changed |
|
ChangeUICues | (inherited from Control). |
|
Click | (inherited from Control). |
|
ClientSizeChanged | (inherited from Control). |
|
ContextMenuChanged | (inherited from Control). |
|
ContextMenuStripChanged | (inherited from Control). |
|
ControlAdded | (inherited from Control). |
|
ControlRemoved | (inherited from Control). |
|
CursorChanged | (inherited from Control). |
|
Disposed | (inherited from Component). |
|
DockChanged | (inherited from Control). |
|
DoubleClick | (inherited from Control). |
|
DpiChangedAfterParent | (inherited from Control). |
|
DpiChangedBeforeParent | (inherited from Control). |
|
DragDrop | (inherited from Control). |
|
DragEnter | (inherited from Control). |
|
DragLeave | (inherited from Control). |
|
DragOver | (inherited from Control). |
|
EnabledChanged | (inherited from Control). |
|
EndLoadFile | Occurs when loading of the file was finished |
|
Enter | (inherited from Control). |
|
FontChanged | (inherited from Control). |
|
ForeColorChanged | (inherited from Control). |
|
GiveFeedback | (inherited from Control). |
|
GotFocus | (inherited from Control). |
|
HandleCreated | (inherited from Control). |
|
HandleDestroyed | (inherited from Control). |
|
HelpRequested | (inherited from Control). |
|
ImeModeChanged | (inherited from Control). |
|
Invalidated | (inherited from Control). |
|
KeyDown | (inherited from Control). |
|
KeyPress | (inherited from Control). |
|
KeyUp | (inherited from Control). |
|
Layout | (inherited from Control). |
|
Leave | (inherited from Control). |
|
Load | (inherited from UserControl). |
|
LocationChanged | (inherited from Control). |
|
LostFocus | (inherited from Control). |
|
MarginChanged | (inherited from Control). |
|
MouseCaptureChanged | (inherited from Control). |
|
MouseClick | (inherited from Control). |
|
MouseDoubleClick | (inherited from Control). |
|
MouseDown | (inherited from Control). |
|
MouseEnter | (inherited from Control). |
|
MouseHover | (inherited from Control). |
|
MouseLeave | (inherited from Control). |
|
MouseMove | (inherited from Control). |
|
MouseUp | (inherited from Control). |
|
MouseWheel | (inherited from Control). |
|
Move | (inherited from Control). |
|
PaddingChanged | (inherited from Control). |
|
Paint | (inherited from Control). |
|
ParentChanged | (inherited from Control). |
|
PreviewKeyDown | (inherited from Control). |
|
QueryAccessibilityHelp | (inherited from Control). |
|
QueryContinueDrag | (inherited from Control). |
|
RegionChanged | (inherited from Control). |
|
Resize | (inherited from Control). |
|
RightToLeftChanged | (inherited from Control). |
|
Scroll | (inherited from ScrollableControl). |
|
SizeChanged | (inherited from Control). |
|
StyleChanged | (inherited from Control). |
|
SystemColorsChanged | (inherited from Control). |
|
TabIndexChanged | (inherited from Control). |
|
TabStopChanged | (inherited from Control). |
|
TextChanged | (inherited from UserControl). |
|
Validated | (inherited from Control). |
|
Validating | (inherited from Control). |
|
VisibleChanged | (inherited from Control). |
Delegates
| Name | Description | |
|---|---|---|
|
CloseRulerForm | |
|
OnChangeRulerValues | Represents a set of methods which are invoked on changing values of the ruler settings. The set is used for ChangeRulerValues event |
|
UpdateStatusOnMouseMove | Represents a set of methods which are invoked on changing values on mouse move event. The set is used for ChangeRulerValues event |
|
UpdateStatusOnMouseUp | Represents a set of methods which are invoked on changing values on mouse up event. The set is used for ChangeRulerValues event |
Fields
| Name | Description | |
|---|---|---|
|
CloseRuler | |
|
UpdateValuesOnMove | Occurs on the cadEditorControl's mouse_move event |
|
UpdateValuesOnUp | Occurs on the cadEditorControl's mouse_up event |
See Also