Document Class |
Namespace: RootPro.RootProCAD
The Document type exposes the following members.
| Name | Description | |
|---|---|---|
| AnglePrecision |
Acquires or sets the accuracy of the angle (number of decimal places).
| |
| AngleUnitFormatType |
Get or set the notation type of angle.
| |
| BalloonSettings |
Get the default value of the balloon setting.
| |
| BalloonSettingsStyles |
Get a collection of balloon's configuration styles.
| |
| BasicShapeSettings |
Get the default value of general figure setting.
| |
| BasicShapeSettingsStyles |
Get a collection of setting styles for general shapes.
| |
| Colors |
Get a collection of colors.
| |
| CurrentBalloonStyleName |
Get or set the current balloon setting style name.
| |
| CurrentBasicShapeStyleName |
Get or set the current general graphic setting style name.
| |
| CurrentDimensionStyleName |
Gets or sets the current dimension setting style name.
| |
| CurrentDrawing |
Gets or sets the current partial map.
| |
| CurrentHatchStyleName |
Gets or sets the current hatching style name.
| |
| CurrentLayout |
Get or set the current layout.
| |
| CurrentLeadStyleName |
Gets or sets the current leader setting style name.
| |
| CurrentPointMarkerStyleName |
Gets or sets the current dot mark setting style name.
| |
| CurrentTextStyleName |
Gets or sets the current character setting style name.
| |
| CustomHatchs |
Get a collection of user defined hatches.
| |
| DimensionSettings |
Gets the default value of dimension setting.
| |
| DimensionSettingsStyles |
Get the collection of dimension setting styles.
| |
| DotSize |
Gets or sets the size of point (dot).
| |
| Drawings |
Acquire a collection of partial drawings.
| |
| DrawOrderMode |
Get or set the draw order mode for shapes.
| |
| FileFormat |
Get the format of the file.
| |
| FullName |
Get the full path of the drawing file including the drive / folder name.
| |
| HatchSettings |
Get the default value of hatch setting.
| |
| HatchSettingsStyles |
Get a collection of hatching setting styles.
| |
| LayerTable |
Get LayerTable representing all layers in the drawing.
| |
| LeadSettings |
Get the default value of the setting of the leader line.
| |
| LeadSettingsStyles |
Get a collection of setting style of leader line.
| |
| LengthPrecision |
Acquires or sets the precision of the length (number of decimal places).
| |
| LengthUnitFormatType |
Get or set the notation type of length.
| |
| LineCapMode |
Get or set the line end display mode.
| |
| LineJoinMode |
Get or set the display mode of the corner of the line.
| |
| Linetypes |
Get the collection of linetypes.
| |
| LinetypeScaleFactor |
Get or set the scale of the line pitch length.
| |
| LinetypeScalingMode |
Get or set scale mode of line pitch length.
| |
| Linewidths |
Get a collection of line widths.
| |
| MasterDrawComponents |
We will get a collection of drawing component definitions.
| |
| Name |
Get the name of the drawing.
| |
| PaperLinetypeDisplayMode |
Gets or sets the line pitch display mode of the paper.
| |
| PaperLinewidthDisplayMode |
Get or set line width display mode of paper.
| |
| PartLinetypeDisplayMode |
Get or set the line pitch display mode of the partial drawing.
| |
| PartLinewidthDisplayMode |
Get or set the line width display mode of the partial drawing.
| |
| PointMarkerSettings |
Acquires the default value of point mark setting.
| |
| PointMarkerSettingsStyles |
Acquires a collection of style mark setting styles.
| |
| PrintSettings |
Acquire printing settings.
| |
| ReadOnly |
Get whether the file is read-only.
| |
| RegionGapTolerance |
Gets or sets a value that represents the tolerance for considering a shape that is not completely closed as a region.
| |
| RegionSearcher |
Get the object that searches for the region that surrounds the specified coordinates.
| |
| Saved |
Retrieve whether there are any changes that have not been saved in the drawing.
| |
| SelectionFilter |
Get the selection filter object.
| |
| SelectionManager |
Get the object that manages the selected shape.
| |
| ShapeFactory |
Get an instance of the ShapeFactory class that generates the default shape.
| |
| SummaryInfo |
Get the properties of the file.
| |
| TemplateDocument |
Get the document of the template.
| |
| TemplateFileName |
Get or set the file name of the template.
| |
| TextSettings |
Get the default value of the character setting.
| |
| TextSettingsStyles |
Get a collection of style setting styles.
| |
| UndoManager |
Obtain an object that manages UNDO / REDO.
| |
| Version |
Get the version number of the file.
|
| Name | Description | |
|---|---|---|
| Activate |
Activate the drawing.
| |
| AddShape |
Add a shape.
| |
| Close |
Close the drawing.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| ExportFile |
Exports to an external file.
Even if the setting is set to display the conversion settings dialog for each external file when exporting, it will not be displayed.
If you want to reflect the setting to display the conversion settings dialog for each external file, use the SaveAs method.
| |
| ExportPdfFile |
Specify a file name and export the drawing to a PDF file.
Even if the setting is set to display the conversion settings dialog for each external file when exporting, it will not be displayed.
If you want to reflect the setting to display the conversion settings dialog for each external file, use the SaveAs method.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetShapeByID |
Acquires the figure with the specified record ID.
| |
| GetShapeByNumber |
Acquires the figure with the specified figure number.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsValidShape |
Check if the specified shape is valid as a figure on the drawing.
| |
| LoadTable |
Load non-existing linetypes and custom hatches from the shape settings of other document.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnAfterSave |
Generate an AfterSave event.
| |
| OnBeforeSave |
Raise BeforeSave event.
| |
| OnBeginPrint |
Raise the BeginPrint event.
| |
| OnColorItemChanged |
Raise the ColorItemChanged event.
| |
| OnColorsChanged |
Raise the ColorsChanged event.
| |
| OnCurrentDrawingChanged |
Raise the CurrentDrawingChanged event.
| |
| OnCurrentShapeSettingsStyleChanged |
Raises the CurrentShapeSettingsStyleChanged event.
| |
| OnCustomHatchAdded |
Raise CustomHatchAdded event.
| |
| OnCustomHatchDeleting |
Raise CustomHatchDeleting event.
| |
| OnDrawingAdded |
Raise the DrawingAdded event.
| |
| OnDrawingChanged |
Raise the DrawingChanged event.
| |
| OnDrawingDeleting |
Raise the DrawingDeleting event.
| |
| OnDrawingOrderChanged |
Raise the DrawingOrderChanged event.
| |
| OnEndPrint |
Raise the EndPrint event.
| |
| OnLayoutAdded |
Raise the LayoutAdded event.
| |
| OnLayoutChanged |
Raise the LayoutChanged event.
| |
| OnLayoutDeleting |
Raise the LayoutDeleting event.
| |
| OnLayoutOrderChanged |
Raise the DrawingOrderChanged event.
| |
| OnLinetypeItemAdded |
Raise the LinetypeItemAdded event.
| |
| OnLinetypeItemChanged |
Raise the LinetypeItemChanged event.
| |
| OnLinetypeItemDeleting |
Raise the LinetypeItemDeleting event.
| |
| OnLinetypesChanged |
Raise the LinetypesChanged event.
| |
| OnLinewidthItemChanged |
Raise the LinewidthItemChanged event.
| |
| OnLinewidthsChanged |
Raise the LinewidthsChanged event.
| |
| OnMasterDrawComponentAdded |
Raise MasterDrawComponentAdded event.
| |
| OnMasterDrawComponentDeleting |
Raise MasterDrawComponentDeleting event.
| |
| OnPrintSettingsChanged |
Raises the PrintSettingsChanged event.
| |
| OnShapeAdded |
Raise ShapeAdded event.
| |
| OnShapeChanged |
Raise the ShapeChanged event.
| |
| OnShapeDelete |
Raise ShapeDelete event.
| |
| OnShapeGrouped |
Raise the ShapeGrouped event.
| |
| OnShapePrinting |
Raise the ShapePrinting event.
| |
| OnShapeSettingsChanged |
Raises the ShapeSettingsChanged event.
| |
| OnShapeSettingsStyleAdded |
Raises the ShapeSettingsStyleAdded event.
| |
| OnShapeSettingsStyleChanged |
Raise the ShapeSettingsStyleChanged event.
| |
| OnShapeSettingsStyleDeleting |
Raise the ShapeSettingsStyleDeleting event.
| |
| OnShapeUngrouped |
Raise the ShapeUngrouped event.
| |
| OnSummaryInfoChanged |
Raises the SummaryInfoChanged event.
| |
| OpenTemplateFile |
Open the template file.
| |
| PrintOut |
Print the active partial drawing.
| |
| PrintPreview |
Display the print preview of the active partial drawing.
| |
| RemoveShape(Int32) | Obsolete.
Delete the shape.
| |
| RemoveShape(IntPtr) |
Delete the shape.
| |
| Save |
Save the drawing.
| |
| SaveAs(String) |
Specify the file name and save the drawing.
| |
| SaveAs(String, FileFormat) |
Specify the file name and save the drawing.
| |
| SaveAsPdf |
Specify a file name and export the drawing to a PDF file.
| |
| SaveCopyAs(String) |
Specify the file name and save a copy of the file.
| |
| SaveCopyAs(String, FileFormat) |
Specify the file name and save a copy of the file.
| |
| SaveTemplateFile |
Save the template file.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateShape |
Update the shape.
| |
| UpdateViews |
Redraws all views of the document.
|
| Name | Description | |
|---|---|---|
| AfterSave |
Occurs when the drawing is saved.
| |
| BeforeSave |
Occurs before the drawing is saved.
| |
| BeginPrint |
Occurs before the drawing is printed.
| |
| ColorItemChanged |
It occurs when one color is changed.
| |
| ColorsChanged |
Occurs when the color table is changed.
| |
| CurrentDrawingChanged |
Occurs when the current partial diagram is changed.
| |
| CurrentShapeSettingsStyleChanged |
Occurs when the current graphic setting style is changed.
| |
| CustomHatchAdded |
It occurs when the user defined hatch is added.
| |
| CustomHatchDeleting |
Occurs when the user defined hatch is deleted.
| |
| DrawingAdded |
Occurs when paper or partial drawing is added.
| |
| DrawingChanged |
Occurs when paper or partial drawing has been changed.
| |
| DrawingDeleting |
Occurs when paper or partial drawing is deleted.
| |
| DrawingOrderChanged |
Occurs when paper or partial drawing order is changed.
| |
| EndPrint |
Occurs after the drawing is printed.
| |
| LayoutAdded |
Occurs when a layout is added.
| |
| LayoutChanged |
Occurs when the layout is changed.
| |
| LayoutDeleting |
Occurs when the layout is deleted.
| |
| LayoutOrderChanged |
Occurs when layout order is changed.
| |
| LinetypeItemAdded |
It occurs when line type is added.
| |
| LinetypeItemChanged |
It occurs when one line type is changed.
| |
| LinetypeItemDeleting |
Occurs when one line type is deleted.
| |
| LinetypesChanged |
Occurs when the line type table is changed.
| |
| LinewidthItemChanged |
It occurs when one line width is changed.
| |
| LinewidthsChanged |
Occurs when the line width table is changed.
| |
| MasterDrawComponentAdded |
It occurs when the definition of the drawing part is added.
| |
| MasterDrawComponentDeleting |
Occurs when the definition of the drawing part is deleted.
| |
| PrintSettingsChanged |
Occurs when the print setting is changed.
| |
| ShapeAdded |
Occurs when a shape is added.
| |
| ShapeChanged |
Occurs when the shape is changed.
| |
| ShapeDelete |
Occurs when the shape is deleted.
| |
| ShapeGrouped |
Occurs when the shape is grouped.
| |
| ShapePrinting |
Occurs before a figure is printed.
| |
| ShapeSettingsChanged |
Occurs when the figure setting is changed.
| |
| ShapeSettingsStyleAdded |
Occurs when a figure setting style is added.
| |
| ShapeSettingsStyleChanged |
Occurs when the shape setting style is changed.
| |
| ShapeSettingsStyleDeleting |
Occurs when the shape setting style is deleted.
| |
| ShapeUngrouped |
Occurs when the shape is ungrouped.
| |
| SummaryInfoChanged |
Occurs when the properties of a file is changed.
|