StyleSheet Class
Represents a style defined in a document.
Inheritance Hierarchy
SystemObject
  Aspose.DiagramStyleSheet

Namespace: Aspose.Diagram
Assembly: Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.2.0.0 (20.2)
Syntax
public class StyleSheet

The StyleSheet type exposes the following members.

Constructors
  NameDescription
Public methodStyleSheet
Constructor.
Properties
  NameDescription
Public propertyChars
Contains a collection of Char elements.
Public propertyConnectionABCDs
Contains a collection of ConnectionABCD elements.
Public propertyConnections
Contains a collection of Connection elements.
Public propertyEvent
Contains elements that specify formulas that control shape events.
Public propertyFill
Contains the current fill formatting values for the shape and the shape's drop shadow, including pattern, foreground color, and background color.
Public propertyFillStyle
StyleSheet element from which this style inherits fill formatting.
Public propertyForeign
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.
Public propertyForeignData
Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, or OLE data.
Public propertyGroup
Contains elements that control how you add shapes to a group, move members of a group, and select groups.
Public propertyHelp
Contains elements specifying the Shape element's Help file topic and copyright information.
Public propertyID
The unique ID of the element within its parent element.
Public propertyImage
Contains the gamma, brightness, contrast, blur, sharpen, denoise, and transparency values for a bitmap.
Public propertyLayout
Contains elements that control shape placement and connector routing settings.
Public propertyLine
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).
Public propertyLineStyle
StyleSheet element from which this style inherits line formatting.
Public propertyMisc
Contains elements specifying the Shape element's Help file topic and copyright information.
Public propertyName
The name of the element.
Public propertyNameU
The universal name of the element.
Public propertyPageLayout
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.
Public propertyParas
Contains a collection of Para elements.
Public propertyProtection
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.
Public propertyRulerGrid
Contains elements that specify the settings of the page's rulers and grid.
Public propertyStyleProp
Contains elements that control style behavior, such as whether a style includes text, line, and fill attributes.
Public propertyTabsCollection
Contains a collection of Tab elements.
Public propertyTextBlock
Contains elements that specify the alignment, margins, and default tab stop positions of text in a shape's text block.
Public propertyTextStyle
StyleSheet element from which this style inherits text formatting.
Methods
  NameDescription
Public methodClone
Creates deep copy of this instance.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also