StyleSheet Element [Visio 2003 SDK Documentation]
Represents a style defined in a document.
<StyleSheet ID [Name] [NameU] [LineStyle] [FillStyle] [TextStyle]> </StyleSheet>
Required int. The unique ID of the element within its parent element.
Optional string. The name of the element.
Optional string. The universal name of the element.
Optional int. The ID of the StyleSheet element from which this style inherits line formatting.
Optional int. The ID of the StyleSheet element from which this style inherits fill formatting.
Optional int. The ID of the StyleSheet element from which this style inherits text formatting.
Any shape to which a style is applied inherits the attributes defined for the style. The LineStyle, FillStyle, and TextStyle attributes of a Shape element apply styles to a shape.
While the elements listed above are all valid children of the StyleSheet element, in practice only the following elements are relevant: Char, Event, Fill, Group, Help, Image, LayerMem, Layout, Line, Misc, PageLayout, Para, Protection, RulerGrid, StyleProp, Tabs, and Textblock.
StyleSheet elements can inherit from other StyleSheet elements; however, circular references are not allowed.