Document Methods |
The Document type exposes the following members.
| 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.) | |
| 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.
|