DocumentSettings
Contents
[
Hide
]
DocumentSettings class
Contains elements that specify document settings.
public class DocumentSettings
Properties
Name | Description |
---|---|
AttachedToolbars { get; set; } | A MIME (Multipurpose Internet Mail Extensions) encoded Microsoft Visio user interface (VSU) file representing custom toolbars. |
CustomMenusFile { get; set; } | Contains the name of the Microsoft Visio user interface (.vsu) file that defines custom menus and accelerators for a document. |
CustomToolbarsFile { get; set; } | Contains the name of the Microsoft Visio user interface (.vsu) file that defines custom toolbars and status bars for a document. |
DefaultFillStyle { get; set; } | 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. |
DefaultGuideStyle { get; set; } | 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. |
DefaultLineStyle { get; set; } | 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. |
DefaultTextStyle { get; set; } | 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. |
DynamicGridEnabled { get; set; } | Specifies whether the dynamic grid feature is enabled for a document or window. |
GlueSettings { get; set; } | Specifies the objects that shapes glue to when glue is enabled in the document. |
ProtectBkgnds { get; set; } | Specifies whether the user is prevented from deleting or editing background pages. |
ProtectMasters { get; set; } | Specifies whether the user is prevented from creating, editing, or deleting masters. Regardless of this setting, the user can still create instances of masters. |
ProtectShapes { get; set; } | Specifies whether the user is prevented from selecting shapes that have their LockSelect element set to 1. |
ProtectStyles { get; set; } | Specifies whether the user is prevented from creating or editing styles. However, regardless of this setting, the user can still apply styles. |
SnapAngles { get; set; } | Contains a collection of SnapAngle elements. |
SnapExtensions { get; set; } | Specifies whether a specific snap extension setting is enabled or disabled for the active window. |
SnapSettings { get; set; } | Specifies the objects that shapes snap to when snap is active in the window. |
TopPage { get; set; } | Specifies the ID of the page that should be displayed when the document is opened by Microsoft Visio. |
See Also
- namespace Aspose.Diagram
- assembly Aspose.Diagram