Diagram Methods

The Diagram type exposes the following members.

Methods
  NameDescription
Public methodAddMaster(Stream, Int32)
Adds master to diagram from template stream by master's ID.
Public methodAddMaster(Stream, String)
Adds master to diagram from template stream by master's Name or NameU.
Public methodAddMaster(String, Int32)
Adds master to diagram from template file by master's ID.
Public methodAddMaster(String, String)
Adds master to diagram from template file by master's Name or NameU.
Public methodAddMaster(Diagram, String)
Adds master to diagram from source diagram by master's Name or NameU.
Public methodAddShape(Shape, String, Int32)
Adds shape created by master to specific page.
Public methodAddShape(Double, Double, String, Int32)
Adds shape created by master on page with defined PinX and PinY.
Public methodAddShape(Double, Double, Double, Double, String, Int32)
Adds shape created by master on page with defined PinX,PinY,Width and Height.
Public methodCombine
Combines another Diagram object.
Public methodCopyTheme
Copies Theme from a source Diagram.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals (Inherited from Object.)
Public methodStatic memberExport(Stream, Stream)
Exports the diagram from vsd stream to vdw stream format. Not implemented yet.
Public methodStatic memberExport(Stream, String)
Exports the diagram from vsd stream to *.vdw file format. Not implemented yet.
Public methodStatic memberExport(String, Stream)
Exports the diagram from vsd file to vdw stream format. Not implemented yet.
Public methodStatic memberExport(String, String)
Exports the diagram from vsd to vdw format. Not implemented yet.
Protected methodFinalize (Inherited from Object.)
Public methodGetDefaultFontDir
Get the Default Fonts folder path
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetUnusedStyles
Get unused Styles
Public methodHasHiddenInfo
Indicates whether this diagram has hidden infomation.
Public methodLayout
Lays out the shapes and/or reroutes the connectors for all pages of diagram.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPrint
Prints the whole document to the default printer.
Public methodPrint(PrinterSettings)
Prints the document according to the specified printer settings,using the standard (no User Interface) print controller.
Public methodPrint(String)
Print the whole document to the specified printer,using the standard (no User Interface) print controller.
Public methodPrint(PrinterSettings, String)
Prints the document according to the specified printer settings,using the standard (no User Interface) print controller and a document name.
Public methodPrint(String, String)
Prints the document,using the standard (no User Interface) print controller and a document name.
Public methodRefresh
Invokes Refresh method for all DataRecordSet in the Diagram.
Public methodRemoveHiddenInformation
Remove unused information
Public methodRemoveMacro
Removes VBA/macro from this diagram.
Public methodSave(Stream, SaveFileFormat)
Saves the diagram data to the stream.
Public methodSave(Stream, SaveOptions)
Saves the diagram to a stream using the specified save options.
Public methodSave(String, SaveFileFormat)
Saves the diagram data to the file.
Public methodSave(String, SaveOptions)
Saves the document to a file using the specified save options.
Public methodToString (Inherited from Object.)
See Also