Provides a possibility of viewing CAD files.

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

Name Description
Public constructor CADViewerControl Creates a new instance of the CADViewerControl object.
Top
Name Description
Public property AboutForm Gets 'About' window
Public property AccessibilityObject (inherited from Control).
Public property AccessibleDefaultActionDescription (inherited from Control).
Public property AccessibleDescription (inherited from Control).
Public property AccessibleName (inherited from Control).
Public property AccessibleRole (inherited from Control).
Public property ActiveControl (inherited from ContainerControl).
Public property AllowDrop (inherited from Control).
Public property Anchor (inherited from Control).
Public property AutoScaleDimensions (inherited from ContainerControl).
Public property AutoScaleMode (inherited from ContainerControl).
Public property AutoScroll (inherited from ScrollableControl).
Public property AutoScrollMargin (inherited from ScrollableControl).
Public property AutoScrollMinSize (inherited from ScrollableControl).
Public property AutoScrollOffset (inherited from Control).
Public property AutoScrollPosition (inherited from ScrollableControl).
Public property AutoSize (inherited from UserControl).
Public property AutoSizeMode (inherited from UserControl).
Public property AutoValidate (inherited from UserControl).
Public property BackColor (inherited from Control).
Public property BackgroundImage (inherited from Control).
Public property BackgroundImageLayout (inherited from Control).
Public property BindingContext (inherited from ContainerControl).
Public property BorderStyle (inherited from UserControl).
Public property Bottom (inherited from Control).
Public property Bounds (inherited from Control).
Public property CanFocus (inherited from Control).
Public property CanSelect (inherited from Control).
Public property Capture (inherited from Control).
Public property CausesValidation (inherited from Control).
Public property Static CheckForIllegalCrossThreadCalls (inherited from Control).
Public property ClientRectangle (inherited from Control).
Public property ClientSize (inherited from Control).
Public property ColorDraw Gets a parameter to draw an image in color or black-and-white mode
Public property CompanyName (inherited from Control).
Public property Container (inherited from Component).
Public property ContainsFocus (inherited from Control).
Public property ContextMenu (inherited from Control).
Public property ContextMenuStrip (inherited from Control).
Public property Controls (inherited from Control).
Public property Created (inherited from Control).
Public property CurrentAutoScaleDimensions (inherited from ContainerControl).
Public property CurrentXClickPosition The X coordinate of the last mouse click position on the screen.
Public property CurrentYClickPosition The Y coordinate of the last mouse click position on the screen.
Public property Cursor (inherited from Control).
Public property DataBindings (inherited from Control).
Public property Static DefaultBackColor (inherited from Control).
Public property Static DefaultFont (inherited from Control).
Public property Static DefaultForeColor (inherited from Control).
Public property DeviceDpi (inherited from Control).
Public property DimensionVisible Gets or sets dimensions visibility
Public property DisplayRectangle (inherited from ScrollableControl).
Public property Disposing (inherited from Control).
Public property Dock (inherited from Control).
Public property DockPadding (inherited from ScrollableControl).
Public property Enabled (inherited from Control).
Public property EntityPropertyGrid Gets or sets the entity properties grid
Public property EntityPropertyGridVisible Gets or sets visibility of the entity properties grid
Public property EntityTree Gets or sets the entities tree
Public property EntityTreeVisible Gets or sets visibility of the entities tree
Public property FileName Gets or sets a name of the file when using CADViewerControl.cs
Public property Focused (inherited from Control).
Public property Font (inherited from Control).
Public property ForeColor (inherited from Control).
Public property Handle (inherited from Control).
Public property HasChildren (inherited from Control).
Public property Height (inherited from Control).
Public property HorizontalScroll (inherited from ScrollableControl).
Public property Image A CAD image displayed in the main application form.
Public property ImageDRect Gets the current size and position of the drawing image
Public property ImagePreviousScale A previous value of the scale in which the current CAD image is displayed in the viewer.
Public property ImageRectangleF Gets the current size and position of the drawing image
Public property ImageScale Gets or sets a scale in which the current CAD image is displayed in the viewer.
Public property ImeMode (inherited from Control).
Public property InFileName Gets or sets a name of the file to open
Public property InvokeRequired (inherited from Control).
Public property IsAccessible (inherited from Control).
Public property IsDisposed (inherited from Control).
Public property IsHandleCreated (inherited from Control).
Public property IsMirrored (inherited from Control).
Public property LayerForm Gets or sets the layers settings window
Public property LayoutEngine (inherited from Control).
Public property LayoutsPanelVisible Gets or sets visibility of the layouts panel
Public property Left (inherited from Control).
Public property LeftImagePosition Gets or sets a position of the drawing image by X axis
Public property Location (inherited from Control).
Public property Margin (inherited from Control).
Public property MaximumSize (inherited from Control).
Public property MinimumSize (inherited from Control).
Public property Static ModifierKeys (inherited from Control).
Public property Static MouseButtons (inherited from Control).
Public property Static MousePosition (inherited from Control).
Public property Name (inherited from Control).
Public property OptionsForm Gets or sets the settings window
Public property Orb3D Gets or sets Orbit3D control
Public property OutFileName Gets or sets a name of the file to save
Public property Padding (inherited from Control).
Public property Parent (inherited from Control).
Public property ParentForm (inherited from ContainerControl).
Public property Position A position of the current CAD image relatively to the top-left corner of the viewer.
Public property PreferredSize (inherited from Control).
Public property PreviousPosition A previous position of the current CAD image relatively to the top-left corner of the viewer.
Public property PrintPreviewDialog Gets or sets the standard window of the print preview
Public property PrintingForm Gets or sets the preview and printing settings window
Public property ProductName (inherited from Control).
Public property ProductVersion (inherited from Control).
Public property PropertyEntityPanelVisible Gets or sets visibility of the entity properties panel
Public property RasterSizeForm Gets the SetRasterSizeForm window
Public property RealScale Gets displaying the realscale of the image
Public property RealScaleDouble Gets the displaying scale of this image
Public property RecreatingHandle (inherited from Control).
Public property Region (inherited from Control).
Public property RegistrationForm Gets or sets the registration window
Public property Right (inherited from Control).
Public property RightToLeft (inherited from Control).
Public property SHXForm Gets or sets the shx fonts settings window
Public property SetRasterSizeForm Gets or sets the settings window for raster images saving
Public property ShowLineWeight Gets or sets lines weight visibility
Public property Site (inherited from Control).
Public property Size (inherited from Control).
Public property StatusBarPanel Gets or sets the status bar panel
Public property StatusBarPanelVisible Gets or sets visibility of the status bar panel
Public property TabIndex (inherited from Control).
Public property TabStop (inherited from Control).
Public property Tag (inherited from Control).
Public property Text (inherited from UserControl).
Public property TextVisible Gets or sets texts visibility
Public property ToolsPanel Gets or sets the tools panel
Public property ToolsPanelVisible Gets or sets tools panel visibility
Public property Top (inherited from Control).
Public property TopImagePosition Gets or sets a position of the drawing image by Y axis
Public property TopLevelControl (inherited from Control).
Public property UseWaitCursor (inherited from Control).
Public property VerticalScroll (inherited from ScrollableControl).
Public property ViewerCADPictureBox Gets the CADPictureBox control, where an image is drawn
Public property Visible (inherited from Control).
Public property VisibleAreaSize Gets or sets base dimensions of the image drawing area
Public property Width (inherited from Control).
Public property WindowTarget (inherited from Control).
Top
Name Description
Public method AddSHXPaths Displays a form in which a user can add or delete the paths to the SHX files.
Public method BeginInvoke (Overloaded) (inherited from Control).
Public method Black_Click Paints the CAD image background in the black color.
Public method BringToFront (inherited from Control).
Public method Change3DAxesVisiblity Shows or hides 3D axes.
Public method ChangeControlState Changes the current state of controls
Public method ChangeCurrLayoutIndex Changes current layout in accordance with its new index in the list of layouts.
Public method ChangeDimensionsVisiblity Shows or hides dimensions in the current CAD image.
Public method ChangeDoubleBufferingMode Enables/disables the double buffering mode
Public method ChangeSelectionCond Enables/disables the entity selection mode
Public method ChangeShowLineWeight Alternately changes a boolean value that indicates if a thickness of lines is determined by the file data.
Public method ChangeTextsVisiblity Shows or hides texts in the current CAD image.
Public method ChangeTreeVisiblity Shows or hides a panel that contains the entities tree.
Public method ChangeTypeFont Enables or disables shx fonts
Public method CloseFile Closes the currently opened CAD file.
Public method Color_Click Paints the CAD image background in the user defined color.
Public method Contains (inherited from Control).
Public method CreateControl (inherited from Control).
Public method CreateGraphics (inherited from Control).
Public method CreateObjRef (inherited from MarshalByRefObject).
Public method Dispose (inherited from Component).
Public method DoBlackColor Displays a CAD image in black and white colors.
Public method DoDragDrop (inherited from Control).
Public method DoEnableRectangle Enables or disables rectangle tool
Public method DoNormalColor Displays a CAD image in all used colors.
Public method DoResize (Overloaded) Resizes the CAD image to fit drawing's bounds.
Public method DoZoomIn Increases a scale of the CAD image by twice.
Public method DoZoomOut Decreases a ImageScale of the CAD image by twice.
Public method DrawCADImage Draws a CAD image from the loaded CAD file.
Public method DrawToBitmap (Overloaded) (inherited from Control).
Public method Enable3DOrbit Enables/disables 3DOrbit
Public method EnableButton Enables or disables buttons of the toolbar and menu items of the main menu.
Public method EndInvoke (inherited from Control).
Public method Equals (Overloaded) (inherited from Object).
Public method FindForm (inherited from Control).
Public method Focus (inherited from Control).
Public method Static FromChildHandle (inherited from Control).
Public method Static FromHandle (inherited from Control).
Public method GetChildAtPoint (Overloaded) (inherited from Control).
Public method GetContainerControl (inherited from Control).
Public method GetFromClipboard Loads raster image from the clipboard
Public method GetHashCode (inherited from Object).
Public method GetLifetimeService (inherited from MarshalByRefObject).
Public method GetNextControl (inherited from Control).
Public method GetPreferredSize (inherited from Control).
Public method GetRealPoint Gets a three-dimensional point of the current CAD image from the specified screen point.
Public method GetType (inherited from Object).
Public method Go3dOrbit Alternately displays or hides the 3D Orbit tool.
Public method Hide (inherited from Control).
Public method InitializeLifetimeService (inherited from MarshalByRefObject).
Public method Invalidate (Overloaded) (inherited from Control).
Public method InvalidateImage Invalidates a specific region of the control and causes a paint message to be sent to the control.
Public method Invoke (Overloaded) (inherited from Control).
Public method Static IsKeyLocked (inherited from Control).
Public method Static IsMnemonic (inherited from Control).
Public method LoadFile Loads a CAD file.
Public method LogicalToDeviceUnits (Overloaded) (inherited from Control).
Public method NewFile create new a CAD.
Public method NewProtectionSettings Fills the specified list with the current protection settings.
Public method OnChangeBackgroundColor Invokes the ChangeBackgroundColor event
Public method OnChangeDimensionShow Invokes the ChangeDimensionShow event
Public method OnChangeDrawingColors Invokes the ChangeDrawingColors event
Public method OnChangeEntityPanelVisible Invokes the ChangeEntityPanelVisible event
Public method OnChangeEntityPropertyGridVisible Invokes the ChangeEntityPropertyGridVisible event
Public method OnChangeLanguage Invokes the ChangeLanguage event
Public method OnChangeLineWeightShow Invokes the ChangeLineWeightShow event
Public method OnChangeSnapEnable Invokes the ChangeSnapEnables event
Public method OnChangeStatusBarVisible Invokes the ChangeStatusBarVisible event
Public method OnChangeTextShow Invokes ChangeTextShow event
Public method OnChangeToolsPanelVisible Invokes the ChangeToolsPanelVisible event
Public method OnEndLoadFile Invokes the EndLoadFile event
Public method PerformAutoScale (inherited from ContainerControl).
Public method PerformLayout (Overloaded) (inherited from Control).
Public method PointToClient (inherited from Control).
Public method PointToScreen (inherited from Control).
Public method PreProcessControlMessage (inherited from Control).
Public method PreProcessMessage (inherited from Control).
Public method PutToClipboard Puts an image as a raster to the clipboard
Public method ReOpen Reopens a file after selecting or deselecting SHX fonts.
Public method RectangleToClient (inherited from Control).
Public method RectangleToScreen (inherited from Control).
Public method Static ReferenceEquals (inherited from Object).
Public method Refresh (inherited from Control).
Public method Register Registers the CADImportNet library.
Public method ResetBackColor (inherited from Control).
Public method ResetBindings (inherited from Control).
Public method ResetCursor (inherited from Control).
Public method ResetFont (inherited from Control).
Public method ResetForeColor (inherited from Control).
Public method ResetImeMode (inherited from Control).
Public method ResetRightToLeft (inherited from Control).
Public method ResetScaling Sets the scale and position of the current CAD image to its original values.
Public method ResetText (inherited from Control).
Public method ResumeLayout (Overloaded) (inherited from Control).
Public method Rotate2D Rotates an image (2D rotation)
Public method SaveAsDXF (Overloaded) Saves currently opened file as a DXF file
Public method SaveAsImage Invokes the SaveFileDialog box where a user can select a directory and format for saving the current CAD image.
Public method SaveProtectionSettings Makes the specified settings the current ones.
Public method Scale (Overloaded) (inherited from Control).
Public method ScaleBitmapLogicalToDevice (inherited from Control).
Public method ScrollControlIntoView (inherited from ScrollableControl).
Public method Select (Overloaded) (inherited from Control).
Public method SelectNextControl (inherited from Control).
Public method SendToBack (inherited from Control).
Public method SetAutoScrollMargin (inherited from ScrollableControl).
Public method SetBackView Sets back view of a drawing
Public method SetBottomView Sets bottom view of a drawing
Public method SetBounds (Overloaded) (inherited from Control).
Public method SetCADImageOptions Sets current properties for CADImage for loading file
Public method SetColorLayer Sets a color for layer (CADLayer) specified by index
Public method SetFreezeLayer Sets freeze parameter for CADLayer
Public method SetFrontView Sets the front view of a drawing
Public method SetInitialView Sets an initial view of a drawing
Public method SetLeftView Sets the left view of a drawing
Public method SetNEIsometricView Sets the NE isometric view of a drawing
Public method SetNWIsometricView Sets the NW isometric view of a drawing
Public method SetRightView Sets the right view of a drawing
Public method SetSEIsometricView Sets the SE isometric view of a drawing
Public method SetSWIsometricView Sets the SW isometric view of a drawing
Public method SetSizePictureBox Sets scroll region for CADPictureBox
Public method SetTopView Sets the top view of a drawing
Public method SetVisibleLayer Sets layer's visibility
Public method Show (Overloaded) (inherited from Control).
Public method ShowLoadFileDialog Invokes open file dialog and loads specified file
Public method ShowOpenFromWebForm Opens a form to open a file from the web
Public method ShowRect For internal use
Public method SuspendLayout (inherited from Control).
Public method ToString (inherited from Component).
Public method Unregister Closes all registration resources.
Public method Update (inherited from Control).
Public method UseWinEllipse Alternately changes a boolean value indicating whether arcs and circles in the CAD image are drawn with GDI+ drawing methods without linearization.
Public method Validate (Overloaded) (inherited from ContainerControl).
Public method ValidateChildren (Overloaded) (inherited from UserControl).
Public method ViewLayouts Creates a list of layouts of the CAD image and sets the current layout.
Public method White_Click Paints the CAD image background in the white color.
Public method Zoom Adjusts the image size according to the specified scale.
Top
Name Description
Public event AutoSizeChanged (inherited from UserControl).
Public event AutoValidateChanged (inherited from UserControl).
Public event BackColorChanged (inherited from Control).
Public event BackgroundImageChanged (inherited from Control).
Public event BackgroundImageLayoutChanged (inherited from Control).
Public event BindingContextChanged (inherited from Control).
Public event CausesValidationChanged (inherited from Control).
Public event ChangeBackgroundColor Occurs when the background of the drawing was changed
Public event ChangeDimensionShow Occurs when displaying of the dimensions was enabled or disabled
Public event ChangeDrawingColorsEvent Occurs when the color type of the drawing was changed (black-and-white/color)
Public event ChangeEntityPanelVisible Occurs when visibility of the entity tree was changed
Public event ChangeEntityPropertyGridVisible Occurs when visibility of the entity properties inspector was changed
Public event ChangeLanguage Occurs when the language of the application was changed
Public event ChangeLineWeightShow Occurs when displaying of the lines weight was enabled or disabled
Public event ChangeSnapEnable Occurs when the snap was enabled or disabled
Public event ChangeStatusBarVisible Occurs when visibility of the status panel was changed
Public event ChangeTextShow Occurs when displaying of the texts was enabled or disabled
Public event ChangeToolsPanelVisible Occurs when visibility of the tool panel was changed
Public event ChangeUICues (inherited from Control).
Public event Click (inherited from Control).
Public event ClientSizeChanged (inherited from Control).
Public event ContextMenuChanged (inherited from Control).
Public event ContextMenuStripChanged (inherited from Control).
Public event ControlAdded (inherited from Control).
Public event ControlRemoved (inherited from Control).
Public event CursorChanged (inherited from Control).
Public event Disposed (inherited from Component).
Public event DockChanged (inherited from Control).
Public event DoubleClick (inherited from Control).
Public event DpiChangedAfterParent (inherited from Control).
Public event DpiChangedBeforeParent (inherited from Control).
Public event DragDrop (inherited from Control).
Public event DragEnter (inherited from Control).
Public event DragLeave (inherited from Control).
Public event DragOver (inherited from Control).
Public event EnabledChanged (inherited from Control).
Public event EndLoadFile Occurs when loading of the file was finished
Public event Enter (inherited from Control).
Public event FontChanged (inherited from Control).
Public event ForeColorChanged (inherited from Control).
Public event GiveFeedback (inherited from Control).
Public event GotFocus (inherited from Control).
Public event HandleCreated (inherited from Control).
Public event HandleDestroyed (inherited from Control).
Public event HelpRequested (inherited from Control).
Public event ImeModeChanged (inherited from Control).
Public event Invalidated (inherited from Control).
Public event KeyDown (inherited from Control).
Public event KeyPress (inherited from Control).
Public event KeyUp (inherited from Control).
Public event Layout (inherited from Control).
Public event Leave (inherited from Control).
Public event Load (inherited from UserControl).
Public event LocationChanged (inherited from Control).
Public event LostFocus (inherited from Control).
Public event MarginChanged (inherited from Control).
Public event MouseCaptureChanged (inherited from Control).
Public event MouseClick (inherited from Control).
Public event MouseDoubleClick (inherited from Control).
Public event MouseDown (inherited from Control).
Public event MouseEnter (inherited from Control).
Public event MouseHover (inherited from Control).
Public event MouseLeave (inherited from Control).
Public event MouseMove (inherited from Control).
Public event MouseUp (inherited from Control).
Public event MouseWheel (inherited from Control).
Public event Move (inherited from Control).
Public event PaddingChanged (inherited from Control).
Public event Paint (inherited from Control).
Public event ParentChanged (inherited from Control).
Public event PreviewKeyDown (inherited from Control).
Public event QueryAccessibilityHelp (inherited from Control).
Public event QueryContinueDrag (inherited from Control).
Public event RegionChanged (inherited from Control).
Public event Resize (inherited from Control).
Public event RightToLeftChanged (inherited from Control).
Public event Scroll (inherited from ScrollableControl).
Public event SizeChanged (inherited from Control).
Public event StyleChanged (inherited from Control).
Public event SystemColorsChanged (inherited from Control).
Public event TabIndexChanged (inherited from Control).
Public event TabStopChanged (inherited from Control).
Public event TextChanged (inherited from UserControl).
Public event Validated (inherited from Control).
Public event Validating (inherited from Control).
Public event VisibleChanged (inherited from Control).
Top