public class DocumentSettings
Property Getters/Setters Summary | ||
---|---|---|
byte[] | getAttachedToolbars() | |
void | setAttachedToolbars(byte[]value) | |
A MIME (Multipurpose Internet Mail Extensions) encoded Microsoft Visio user interface (VSU) file representing custom toolbars. | ||
java.lang.String | getCustomMenusFile() | |
void | setCustomMenusFile(java.lang.Stringvalue) | |
Contains the name of the Microsoft Visio user interface (.vsu) file that defines custom menus and accelerators for a document. | ||
java.lang.String | getCustomToolbarsFile() | |
void | setCustomToolbarsFile(java.lang.Stringvalue) | |
Contains the name of the Microsoft Visio user interface (.vsu) file that defines custom toolbars and status bars for a document. | ||
int | getDefaultFillStyle() | |
void | setDefaultFillStyle(intvalue) | |
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. | ||
int | getDefaultGuideStyle() | |
void | setDefaultGuideStyle(intvalue) | |
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. | ||
int | getDefaultLineStyle() | |
void | setDefaultLineStyle(intvalue) | |
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. | ||
int | getDefaultTextStyle() | |
void | setDefaultTextStyle(intvalue) | |
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. | ||
int | getDynamicGridEnabled() | |
void | setDynamicGridEnabled(intvalue) | |
Specifies whether the dynamic grid feature is enabled for a document or window. The value of the property is BOOL integer constant. | ||
int | getGlueSettings() | |
void | setGlueSettings(intvalue) | |
Specifies the objects that shapes glue to when glue is enabled in the document. The value of the property is GlueSettings integer constant. | ||
int | getProtectBkgnds() | |
void | setProtectBkgnds(intvalue) | |
Specifies whether the user is prevented from deleting or editing background pages. The value of the property is BOOL integer constant. | ||
int | getProtectMasters() | |
void | setProtectMasters(intvalue) | |
Specifies whether the user is prevented from creating, editing, or deleting masters. Regardless of this setting, the user can still create instances of masters. The value of the property is BOOL integer constant. | ||
int | getProtectShapes() | |
void | setProtectShapes(intvalue) | |
Specifies whether the user is prevented from selecting shapes that have their LockSelect element set to 1. The value of the property is BOOL integer constant. | ||
int | getProtectStyles() | |
void | setProtectStyles(intvalue) | |
Specifies whether the user is prevented from creating or editing styles. However, regardless of this setting, the user can still apply styles. The value of the property is BOOL integer constant. | ||
FloatPointNumCollection | getSnapAngles() | |
void | ||
Contains a collection of SnapAngle elements. | ||
int | getSnapExtensions() | |
void | setSnapExtensions(intvalue) | |
Specifies whether a specific snap extension setting is enabled or disabled for the active window. The value of the property is SnapExtensions integer constant. | ||
int | getSnapSettings() | |
void | setSnapSettings(intvalue) | |
Specifies the objects that shapes snap to when snap is active in the window. The value of the property is SnapSettings integer constant. | ||
int | getTopPage() | |
void | setTopPage(intvalue) | |
Specifies the ID of the page that should be displayed when the document is opened by Microsoft Visio. |
public int getTopPage() / public void setTopPage(int value)
public int getDefaultTextStyle() / public void setDefaultTextStyle(int value)
public int getDefaultLineStyle() / public void setDefaultLineStyle(int value)
public int getDefaultFillStyle() / public void setDefaultFillStyle(int value)
public int getDefaultGuideStyle() / public void setDefaultGuideStyle(int value)
public int getGlueSettings() / public void setGlueSettings(int value)
public int getSnapSettings() / public void setSnapSettings(int value)
public int getSnapExtensions() / public void setSnapExtensions(int value)
public FloatPointNumCollection getSnapAngles() / public void setSnapAngles(FloatPointNumCollection value)
public int getDynamicGridEnabled() / public void setDynamicGridEnabled(int value)
public int getProtectStyles() / public void setProtectStyles(int value)
public int getProtectShapes() / public void setProtectShapes(int value)
public int getProtectMasters() / public void setProtectMasters(int value)
public int getProtectBkgnds() / public void setProtectBkgnds(int value)
public java.lang.String getCustomMenusFile() / public void setCustomMenusFile(java.lang.String value)
public java.lang.String getCustomToolbarsFile() / public void setCustomToolbarsFile(java.lang.String value)
public byte[] getAttachedToolbars() / public void setAttachedToolbars(byte[] value)