StyleSheet
Contents
[
Hide
]StyleSheet class
Represents a style defined in a document.
StyleSheet()
Constructor.
Properties
| Name | Type | Description |
|---|---|---|
| ID | int | The unique ID of the element within its parent element. |
| Name | String | The name of the element. |
| NameU | String | The universal name of the element. |
| LineStyle | StyleSheet | StyleSheet element from which this style inherits line formatting. |
| FillStyle | StyleSheet | StyleSheet element from which this style inherits fill formatting. |
| TextStyle | StyleSheet | StyleSheet element from which this style inherits text formatting. |
| Line | Line | Contains elements that control line attributes for a shape, such as pattern, weight, and color. These elements determine |
| Fill | Fill | Contains the current fill formatting values for the shape and the shape’s drop shadow, including pattern, foreground col |
| Event | Event | Contains elements that specify formulas that control shape events. |
| StyleProp | StyleProp | Contains elements that control style behavior, such as whether a style includes text, line, and fill attributes. |
| TextBlock | TextBlock | Contains elements that specify the alignment, margins, and default tab stop positions of text in a shape’s text block. |
| Protection | Protection | Locking helps prevent inadvertent changes to the shape but does not prevent Microsoft Visio from resetting values in oth |
| Help | Help | Contains elements specifying the Shape element’s Help file topic and copyright information. |
| Misc | Misc | Contains elements specifying the Shape element’s Help file topic and copyright information. |
| RulerGrid | RulerGrid | Contains elements that specify the settings of the page’s rulers and grid. |
| Image | Image | Contains the gamma, brightness, contrast, blur, sharpen, denoise, and transparency values for a bitmap. |
| Group | Group | Contains elements that control how you add shapes to a group, move members of a group, and select groups. |
| Layout | Layout | Contains elements that control shape placement and connector routing settings. |
| PageLayout | PageLayout | Contains Diagram that control the page layout settings for shapes and connectors, such as spacing between all shapes on |
| Chars | CharCollection | Contains a collection of Char elements. |
| Paras | ParaCollection | Contains a collection of Para elements. |
| TabsCollection | TabsCollection | Contains a collection of Tab elements. |
| Connections | ConnectionCollection | Contains a collection of Connection elements. |
| ConnectionABCDs | ConnectionABCDCollection | Contains a collection of ConnectionABCD elements. |
| Foreign | Foreign | Contains elements specifying the width and height of an object from another program used in a Microsoft Visio document. |
| ForeignData | ForeignData | Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, |
Methods
| Name | Description |
|---|---|
| deepClone | Creates deep copy of this instance. |