DocumentSettings Class

Contains elements that specify document settings.
Inheritance Hierarchy
SystemObject
  Aspose.DiagramDocumentSettings

Namespace:  Aspose.Diagram
Assembly:  Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.6.0.0 (20.6)
Syntax
public class DocumentSettings

The DocumentSettings type exposes the following members.

Properties
  NameDescription
Public propertyAttachedToolbars
A MIME (Multipurpose Internet Mail Extensions) encoded Microsoft Visio user interface (VSU) file representing custom toolbars.
Public propertyCustomMenusFile
Contains the name of the Microsoft Visio user interface (.vsu) file that defines custom menus and accelerators for a document.
Public propertyCustomToolbarsFile
Contains the name of the Microsoft Visio user interface (.vsu) file that defines custom toolbars and status bars for a document.
Public propertyDefaultFillStyle
Specifies the ID of a StyleSheet element. The next time the user creates a shape using a drawing tool, the shape inherits its fill style from the specified StyleSheet element.
Public propertyDefaultGuideStyle
Specifies the ID of a StyleSheet element. The next time the user creates a guide, the guide inherits its guide style from the specified StyleSheet element.
Public propertyDefaultLineStyle
Specifies the ID of a StyleSheet element. The next time the user creates a shape using a drawing tool, the shape inherits its line style from the specified StyleSheet element.
Public propertyDefaultTextStyle
Specifies the ID of a StyleSheet element. The next time the user creates a shape using a drawing tool, the shape inherits its text style from the specified StyleSheet element.
Public propertyDynamicGridEnabled
Specifies whether the dynamic grid feature is enabled for a document or window.
Public propertyGlueSettings
Specifies the objects that shapes glue to when glue is enabled in the document.
Public propertyProtectBkgnds
Specifies whether the user is prevented from deleting or editing background pages.
Public propertyProtectMasters
Specifies whether the user is prevented from creating, editing, or deleting masters. Regardless of this setting, the user can still create instances of masters.
Public propertyProtectShapes
Specifies whether the user is prevented from selecting shapes that have their LockSelect element set to 1.
Public propertyProtectStyles
Specifies whether the user is prevented from creating or editing styles. However, regardless of this setting, the user can still apply styles.
Public propertySnapAngles
Contains a collection of SnapAngle elements.
Public propertySnapExtensions
Specifies whether a specific snap extension setting is enabled or disabled for the active window.
Public propertySnapSettings
Specifies the objects that shapes snap to when snap is active in the window.
Public propertyTopPage
Specifies the ID of the page that should be displayed when the document is opened by Microsoft Visio.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also