asposediagram.api

Class StyleSheet

Represents a style defined in a document.

Constructor Summary
StyleSheet()
Constructor.
 
Property Getters/Setters Summary
methodgetChars()
Contains a collection of Char elements.
methodgetConnectionABCDs()
Contains a collection of ConnectionABCD elements.
methodgetConnections()
Contains a collection of Connection elements.
methodgetEvent()
Contains elements that specify formulas that control shape events.
methodgetFill()
Contains the current fill formatting values for the shape and the shape's drop shadow, including pattern, foreground color, and background color.
methodgetFillStyle()
method
           StyleSheet element from which this style inherits fill formatting.
methodgetForeign()
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.
methodgetForeignData()
Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.
methodgetGroup()
Contains elements that control how you add shapes to a group, move members of a group, and select groups.
methodgetHelp()
Contains elements specifying the Shape element's Help file topic and copyright information.
methodgetID()
method
setID(value)
           The unique ID of the element within its parent element.
methodgetImage()
Contains the gamma, brightness, contrast, blur, sharpen, denoise, and transparency values for a bitmap.
methodgetLayout()
Contains elements that control shape placement and connector routing settings.
methodgetLine()
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).
methodgetLineStyle()
method
           StyleSheet element from which this style inherits line formatting.
methodgetMisc()
Contains elements specifying the Shape element's Help file topic and copyright information.
methodgetName()
method
setName(value)
           The name of the element.
methodgetNameU()
method
setNameU(value)
           The universal name of the element.
methodgetPageLayout()
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.
methodgetParas()
Contains a collection of Para elements.
methodgetProtection()
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.
methodgetRulerGrid()
Contains elements that specify the settings of the page's rulers and grid.
methodgetStyleProp()
Contains elements that control style behavior, such as whether a style includes text, line, and fill attributes.
methodgetTabsCollection()
Contains a collection of Tab elements.
methodgetTextBlock()
Contains elements that specify the alignment, margins, and default tab stop positions of text in a shape's text block.
methodgetTextStyle()
method
           StyleSheet element from which this style inherits text formatting.
 
Method Summary
methoddeepClone()
Creates deep copy of this instance.
 

    • Constructor Detail

      • StyleSheet

        StyleSheet()
        Constructor.
    • Property Getters/Setters Detail

      • getID/setID : int 

        int getID() / setID(value)
        
        The unique ID of the element within its parent element.
      • getName/setName : String 

        String getName() / setName(value)
        
        The name of the element.
      • getNameU/setNameU : String 

        String getNameU() / setNameU(value)
        
        The universal name of the element.
      • getLineStyle/setLineStyle : StyleSheet 

        StyleSheet getLineStyle() / setLineStyle(value)
        
        StyleSheet element from which this style inherits line formatting.
      • getFillStyle/setFillStyle : StyleSheet 

        StyleSheet getFillStyle() / setFillStyle(value)
        
        StyleSheet element from which this style inherits fill formatting.
      • getTextStyle/setTextStyle : StyleSheet 

        StyleSheet getTextStyle() / setTextStyle(value)
        
        StyleSheet element from which this style inherits text formatting.
      • getLine : Line 

        Line 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).
      • getFill : Fill 

        Fill getFill()
        
        Contains the current fill formatting values for the shape and the shape's drop shadow, including pattern, foreground color, and background color.
      • getEvent : Event 

        Event getEvent()
        
        Contains elements that specify formulas that control shape events.
      • getStyleProp : StyleProp 

        StyleProp getStyleProp()
        
        Contains elements that control style behavior, such as whether a style includes text, line, and fill attributes.
      • getTextBlock : TextBlock 

        TextBlock getTextBlock()
        
        Contains elements that specify the alignment, margins, and default tab stop positions of text in a shape's text block.
      • getProtection : Protection 

        Protection 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.
      • getHelp : Help 

        Help getHelp()
        
        Contains elements specifying the Shape element's Help file topic and copyright information.
      • getMisc : Misc 

        Misc getMisc()
        
        Contains elements specifying the Shape element's Help file topic and copyright information.
      • getRulerGrid : RulerGrid 

        RulerGrid getRulerGrid()
        
        Contains elements that specify the settings of the page's rulers and grid.
      • getImage : Image 

        Image getImage()
        
        Contains the gamma, brightness, contrast, blur, sharpen, denoise, and transparency values for a bitmap.
      • getGroup : Group 

        Group getGroup()
        
        Contains elements that control how you add shapes to a group, move members of a group, and select groups.
      • getLayout : Layout 

        Layout getLayout()
        
        Contains elements that control shape placement and connector routing settings.
      • getPageLayout : PageLayout 

        PageLayout 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.
      • getForeign : Foreign 

        Foreign 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 : ForeignData 

        ForeignData getForeignData()
        
        Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.
    • Method Detail

      • deepClone

        Object deepClone()
        Creates deep copy of this instance.
        Returns: