StyleSheet
Source: aspose.
Represents a style defined in a document.
Methods
new StyleSheet()
Constructor.
Methods
deepClone() → Object
Creates deep copy of this instance.
- Returns
-
Object
getChars()
Contains a collection of Char elements.
getConnectionABCDs()
Contains a collection of ConnectionABCD elements.
getConnections()
Contains a collection of Connection elements.
getEvent()
Contains elements that specify formulas that control shape events.
getFill()
Contains the current fill formatting values for the shape and the shape's drop shadow, including pattern, foreground color, and background color.
getFillStyle()
StyleSheet element from which this style inherits fill formatting.
getForeign()
Contains elements specifying the width and height of an object from another program used in a Microsoft Visio document. Also includes elements specifying the distance the object's image is offset within its borders.
getForeignData()
Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.
getGroup()
Contains elements that control how you add shapes to a group, move members of a group, and select groups.
getHelp()
Contains elements specifying the Shape element's Help file topic and copyright information.
getID()
The unique ID of the element within its parent element.
getImage()
Contains the gamma, brightness, contrast, blur, sharpen, denoise, and transparency values for a bitmap.
getLayout()
Contains elements that control shape placement and connector routing settings.
getLine()
Contains elements that control line attributes for a shape, such as pattern, weight, and color. These elements determine whether the line ends are formatted (for example, with an arrowhead), the size of line end formats, radius of the rounding circle applied to the line, and line cap style (round or square).
getLineStyle()
StyleSheet element from which this style inherits line formatting.
getMisc()
Contains elements specifying the Shape element's Help file topic and copyright information.
getName()
The name of the element.
getNameU()
The universal name of the element.
getPageLayout()
Contains Diagram that control the page layout settings for shapes and connectors, such as spacing between all shapes on the page, spacing between all connectors on the page, and routing style for all connectors on the page.
getParas()
Contains a collection of Para elements.
getProtection()
Locking helps prevent inadvertent changes to the shape but does not prevent Microsoft Visio from resetting values in other circumstances. It also does not protect against changes made in the ShapeSheet window.
getRulerGrid()
Contains elements that specify the settings of the page's rulers and grid.
getStyleProp()
Contains elements that control style behavior, such as whether a style includes text, line, and fill attributes.
getTabsCollection()
Contains a collection of Tab elements.
getTextBlock()
Contains elements that specify the alignment, margins, and default tab stop positions of text in a shape's text block.
getTextStyle()
StyleSheet element from which this style inherits text formatting.
setFillStyle()
StyleSheet element from which this style inherits fill formatting.
setID()
The unique ID of the element within its parent element.
setLineStyle()
StyleSheet element from which this style inherits line formatting.
setName()
The name of the element.
setNameU()
The universal name of the element.
setTextStyle()
StyleSheet element from which this style inherits text formatting.