Provides a possibility of viewing CAD files.
The following tables list the members exposed by the CADViewerControl type.
Public Constructors
| Name | Description | |
|---|---|---|
|
CADViewerControl | Creates a new instance of the CADViewerControl object. |
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). |
|
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). |
|
CADImageScale | Gets a scale in which the current CAD image is displayed in the viewer. |
|
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). |
|
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). |
|
Created | (inherited from Control). |
|
CurrentAutoScaleDimensions | (inherited from ContainerControl). |
|
CurrentXClickPosition | The X coordinate of the last mouse click position on the screen. |
|
CurrentYClickPosition | The Y coordinate of the last mouse click position on the screen. |
|
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 dimensions visibility |
|
DisplayRectangle | (inherited from ScrollableControl). |
|
Disposing | (inherited from Control). |
|
Dock | (inherited from Control). |
|
DockPadding | (inherited from ScrollableControl). |
|
Enabled | (inherited from Control). |
|
EntityPropertyGrid | Gets or sets the entity properties grid |
|
EntityPropertyGridVisible | Gets or sets visibility of the entity properties grid |
|
EntityTree | Gets or sets the entities tree |
|
EntityTreeVisible | Gets or sets visibility of the entities tree |
|
FileName | Gets or sets a name of the file when using CADViewerControl.cs |
|
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 | A CAD image displayed in the main application form. |
|
ImageDRect | Obsolete. |
|
ImagePreviousScale | Obsolete. |
|
ImageRectangleF | Obsolete. |
|
ImageScale | Obsolete. |
|
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). |
|
LayerForm | Gets or sets the layers settings window |
|
LayoutEngine | (inherited from Control). |
|
LayoutsPanelVisible | Gets or sets visibility of the layouts panel |
|
Left | (inherited from Control). |
|
LeftImagePosition | Obsolete. |
|
Location | (inherited from Control). |
|
Margin | (inherited from Control). |
|
MaximumSize | (inherited from Control). |
|
MinimumSize | (inherited from Control). |
|
ModifierKeys | (inherited from Control). |
|
MouseButtons | (inherited from Control). |
|
MousePosition | (inherited from Control). |
|
Name | (inherited from Control). |
|
OptionsForm | Gets or sets the settings window |
|
Orb3D | Gets or sets Orbit3D control |
|
OutFileName | Gets or sets a name of the file to save |
|
Padding | (inherited from Control). |
|
Parent | (inherited from Control). |
|
ParentForm | (inherited from ContainerControl). |
|
Position | A position of the current CAD image relatively to the top-left corner of the viewer. |
|
PreferredSize | (inherited from Control). |
|
PreviousPosition | Obsolete. A previous position of the current CAD image relatively to the top-left corner of the viewer. |
|
PrintPreviewDialog | Gets or sets the standard window of the print preview |
|
PrintingForm | Gets or sets the preview and printing settings window |
|
ProductName | (inherited from Control). |
|
ProductVersion | (inherited from Control). |
|
PropertyEntityPanelVisible | Gets or sets visibility of the entity properties panel |
|
RasterSizeForm | Gets the SetRasterSizeForm window |
|
RealScale | Gets displaying the realscale of the image |
|
RealScaleDouble | Gets the displaying scale of this image |
|
RecreatingHandle | (inherited from Control). |
|
Region | (inherited from Control). |
|
RegistrationForm | Gets or sets the registration window |
|
Right | (inherited from Control). |
|
RightToLeft | (inherited from Control). |
|
SHXForm | Gets or sets the 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). |
|
StatusBarPanel | Gets or sets the status bar panel |
|
StatusBarPanelVisible | Gets or sets visibility of the status bar panel |
|
TabIndex | (inherited from Control). |
|
TabStop | (inherited from Control). |
|
Tag | (inherited from Control). |
|
Text | (inherited from UserControl). |
|
TextVisible | Gets or sets texts visibility |
|
ToolsPanel | Gets or sets the tools panel |
|
ToolsPanelVisible | Gets or sets tools panel visibility |
|
Top | (inherited from Control). |
|
TopImagePosition | Obsolete. |
|
TopLevelControl | (inherited from Control). |
|
UseWaitCursor | (inherited from Control). |
|
VerticalScroll | (inherited from ScrollableControl). |
|
ViewerCADPictureBox | Gets the CADPictureBox control, where an image is drawn |
|
Visible | (inherited from Control). |
|
VisibleAreaSize | Gets or sets base dimensions of the image drawing area |
|
Width | (inherited from Control). |
|
WindowTarget | (inherited from Control). |
Public Methods
| Name | Description | |
|---|---|---|
|
AddSHXPaths | Displays a form in which a user can add or delete the paths to the SHX files. |
|
BeginInvoke | (Overloaded) (inherited from Control). |
|
Black_Click | Paints the CAD image background in the black color. |
|
BringToFront | (inherited from Control). |
|
Change3DAxesVisiblity | Shows or hides 3D axes. |
|
ChangeControlState | Changes the current state of controls |
|
ChangeCurrLayoutIndex | Changes current layout in accordance with its new index in the list of layouts. |
|
ChangeDimensionsVisiblity | Shows or hides dimensions in the current CAD image. |
|
ChangeDoubleBufferingMode | Enables/disables the double buffering mode |
|
ChangeSelectionCond | Enables/disables the entity selection mode |
|
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. |
|
ChangeTypeFont | Enables or disables shx fonts |
|
CloseFile | Closes the currently opened CAD file. |
|
Color_Click | Paints the CAD image background in the user defined color. |
|
Contains | (inherited from Control). |
|
CreateControl | (inherited from Control). |
|
CreateGraphics | (inherited from Control). |
|
CreateObjRef | (inherited from MarshalByRefObject). |
|
Dispose | (inherited from Component). |
|
DoBlackColor | Displays a CAD image in black and white colors. |
|
DoDragDrop | (inherited from Control). |
|
DoEnableRectangle | Enables or disables rectangle tool |
|
DoNormalColor | Displays a CAD image in all used colors. |
|
DoResize | (Overloaded) Resizes the CAD image to fit drawing's bounds. |
|
DoZoomExtents | Fit drawing to window |
|
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). |
|
Enable3DOrbit | Enables/disables 3DOrbit |
|
EnableButton | Enables or disables buttons of the toolbar and menu items of the main menu. |
|
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). |
|
GetFromClipboard | Loads raster image from the clipboard |
|
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). |
|
Go3dOrbit | Alternately displays or hides the 3D Orbit tool. |
|
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 | Loads a CAD file. |
|
LogicalToDeviceUnits | (Overloaded) (inherited from Control). |
|
NewFile | create new a CAD. |
|
NewProtectionSettings | Fills the specified list with the current protection settings. |
|
OnChangeBackgroundColor | Invokes the ChangeBackgroundColor event |
|
OnChangeDimensionShow | Invokes the ChangeDimensionShow event |
|
OnChangeDrawingColors | Invokes the ChangeDrawingColors event |
|
OnChangeEntityPanelVisible | Invokes the ChangeEntityPanelVisible event |
|
OnChangeEntityPropertyGridVisible | Invokes the ChangeEntityPropertyGridVisible event |
|
OnChangeLanguage | Invokes the ChangeLanguage event |
|
OnChangeLineWeightShow | Invokes the ChangeLineWeightShow event |
|
OnChangeSnapEnable | Invokes the ChangeSnapEnables event |
|
OnChangeStatusBarVisible | Invokes the ChangeStatusBarVisible event |
|
OnChangeTextShow | Invokes ChangeTextShow event |
|
OnChangeToolsPanelVisible | Invokes the ChangeToolsPanelVisible event |
|
OnEndLoadFile | Invokes the EndLoadFile event |
|
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 | Puts an image as a raster to the clipboard |
|
ReOpen | Reopens a file after selecting or deselecting SHX fonts. |
|
RectangleToClient | (inherited from Control). |
|
RectangleToScreen | (inherited from Control). |
|
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). |
|
Rotate2D | Rotates an image (2D rotation) |
|
SaveAsDXF | (Overloaded) Saves currently opened file as a DXF file |
|
SaveAsImage | Invokes the SaveFileDialog box where a user can select a directory and format for saving the current CAD image. |
|
SaveProtectionSettings | Makes the specified settings the current ones. |
|
Scale | (Overloaded) (inherited from Control). |
|
ScaleBitmapLogicalToDevice | (inherited from Control). |
|
ScrollControlIntoView | (inherited from ScrollableControl). |
|
Select | (Overloaded) (inherited from Control). |
|
SelectNextControl | (inherited from Control). |
|
SendToBack | (inherited from Control). |
|
SetAutoScrollMargin | (inherited from ScrollableControl). |
|
SetBackView | Sets back view of a drawing |
|
SetBottomView | Sets bottom view of a drawing |
|
SetBounds | (Overloaded) (inherited from Control). |
|
SetCADImageOptions | Sets current properties for CADImage for loading file |
|
SetColorLayer | Sets a color for layer (CADLayer) specified by index |
|
SetFreezeLayer | Sets freeze parameter for CADLayer |
|
SetFrontView | Sets the front view of a drawing |
|
SetInitialView | Sets an initial view of a drawing |
|
SetLeftView | Sets the left view of a drawing |
|
SetNEIsometricView | Sets the NE isometric view of a drawing |
|
SetNWIsometricView | Sets the NW isometric view of a drawing |
|
SetRightView | Sets the right view of a drawing |
|
SetSEIsometricView | Sets the SE isometric view of a drawing |
|
SetSWIsometricView | Sets the SW isometric view of a drawing |
|
SetSizePictureBox | Obsolete. |
|
SetTopView | Sets the top view of a drawing |
|
SetVisibleLayer | Sets layer's visibility |
|
Show | (Overloaded) (inherited from Control). |
|
ShowLoadFileDialog | Invokes open file dialog and loads specified file |
|
ShowOpenFromWebForm | Opens a form to open a file from the web |
|
ShowRect | Obsolete. For internal use |
|
SuspendLayout | (inherited from Control). |
|
ToString | (inherited from Component). |
|
Unregister | Closes all registration resources. |
|
Update | (inherited from Control). |
|
UseClipRect | Enables CADImport.FaceModuleClipRect tool for set of entities selection |
|
UseWinEllipse | Alternately changes a boolean value indicating whether arcs and circles in the CAD image are drawn with GDI+ drawing methods without linearization. |
|
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) |
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 |
|
ChangeDrawingColorsEvent | 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 | Occurs 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). |
See Also