Click or drag to resize

Document Methods

The Document type exposes the following members.

Methods
  NameDescription
Public methodActivate
Activate the drawing.
Public methodAddShape
Add a shape.
Public methodClose
Close the drawing.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetShapeByID
Acquires the figure with the specified record ID.
Public methodGetShapeByNumber
Acquires the figure with the specified figure number.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValidShape
Check if the specified shape is valid as a figure on the drawing.
Public methodLoadTable
Load non-existing linetypes and custom hatches from the shape settings of other document.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAfterSave
Generate an AfterSave event.
Protected methodOnBeforeSave
Raise BeforeSave event.
Protected methodOnBeginPrint
Raise the BeginPrint event.
Protected methodOnColorItemChanged
Raise the ColorItemChanged event.
Protected methodOnColorsChanged
Raise the ColorsChanged event.
Protected methodOnCurrentDrawingChanged
Raise the CurrentDrawingChanged event.
Protected methodOnCurrentShapeSettingsStyleChanged
Raises the CurrentShapeSettingsStyleChanged event.
Protected methodOnCustomHatchAdded
Raise CustomHatchAdded event.
Protected methodOnCustomHatchDeleting
Raise CustomHatchDeleting event.
Protected methodOnDrawingAdded
Raise the DrawingAdded event.
Protected methodOnDrawingChanged
Raise the DrawingChanged event.
Protected methodOnDrawingDeleting
Raise the DrawingDeleting event.
Protected methodOnDrawingOrderChanged
Raise the DrawingOrderChanged event.
Protected methodOnEndPrint
Raise the EndPrint event.
Protected methodOnLayoutAdded
Raise the LayoutAdded event.
Protected methodOnLayoutChanged
Raise the LayoutChanged event.
Protected methodOnLayoutDeleting
Raise the LayoutDeleting event.
Protected methodOnLayoutOrderChanged
Raise the DrawingOrderChanged event.
Protected methodOnLinetypeItemAdded
Raise the LinetypeItemAdded event.
Protected methodOnLinetypeItemChanged
Raise the LinetypeItemChanged event.
Protected methodOnLinetypeItemDeleting
Raise the LinetypeItemDeleting event.
Protected methodOnLinetypesChanged
Raise the LinetypesChanged event.
Protected methodOnLinewidthItemChanged
Raise the LinewidthItemChanged event.
Protected methodOnLinewidthsChanged
Raise the LinewidthsChanged event.
Protected methodOnMasterDrawComponentAdded
Raise MasterDrawComponentAdded event.
Protected methodOnMasterDrawComponentDeleting
Raise MasterDrawComponentDeleting event.
Protected methodOnPrintSettingsChanged
Raises the PrintSettingsChanged event.
Protected methodOnShapeAdded
Raise ShapeAdded event.
Protected methodOnShapeChanged
Raise the ShapeChanged event.
Protected methodOnShapeDelete
Raise ShapeDelete event.
Protected methodOnShapeGrouped
Raise the ShapeGrouped event.
Protected methodOnShapePrinting
Raise the ShapePrinting event.
Protected methodOnShapeSettingsChanged
Raises the ShapeSettingsChanged event.
Protected methodOnShapeSettingsStyleAdded
Raises the ShapeSettingsStyleAdded event.
Protected methodOnShapeSettingsStyleChanged
Raise the ShapeSettingsStyleChanged event.
Protected methodOnShapeSettingsStyleDeleting
Raise the ShapeSettingsStyleDeleting event.
Protected methodOnShapeUngrouped
Raise the ShapeUngrouped event.
Protected methodOnSummaryInfoChanged
Raises the SummaryInfoChanged event.
Public methodOpenTemplateFile
Open the template file.
Public methodPrintOut
Print the active partial drawing.
Public methodPrintPreview
Display the print preview of the active partial drawing.
Public methodRemoveShape(Int32) Obsolete.
Delete the shape.
Public methodRemoveShape(IntPtr)
Delete the shape.
Public methodSave
Save the drawing.
Public methodSaveAs(String)
Specify the file name and save the drawing.
Public methodSaveAs(String, FileFormat)
Specify the file name and save the drawing.
Public methodSaveAsPdf
Specify a file name and export the drawing to a PDF file.
Public methodSaveCopyAs(String)
Specify the file name and save a copy of the file.
Public methodSaveCopyAs(String, FileFormat)
Specify the file name and save a copy of the file.
Public methodSaveTemplateFile
Save the template file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateShape
Update the shape.
Public methodUpdateViews
Redraws all views of the document.
Top
See Also