Master Class

Contains elements that define a master for the document. A master is a shape on a stencil that you use repeatedly to create drawings. When you drag a shape from a stencil onto the drawing page, the shape becomes an instance of that master, and a local copy of the master is included in the document.
Inheritance Hierarchy

Namespace:  Aspose.Diagram
Assembly:  Aspose.Diagram (in Aspose.Diagram.dll) Version: (20.6)
public class Master : IDisposable

The Master type exposes the following members.

Public methodMaster
Public propertyAlignName
Specifies whether the master's text in the stencil window is aligned left, right, or center.
Public propertyBaseID
A GUID (globally unique identifier) that identifies the master across documents.
Public propertyConnects
Contains a Connect element for each connection between two shapes in a drawing.
Public propertyHidden
Specifies whether the master is hidden in the user interface.
Public propertyIcon
Specifies a MIME (Multipurpose Internet Mail Extensions) encoded binary icon (in .ico format) for a Master or MasterShortcut element in a document.
Public propertyIconSize
The size of the element's icon.
Public propertyIconUpdate
Specifies whether the icon is automatically generated from the master itself.
Public propertyID
The unique ID of the element within its parent element.
Public propertyMatchByName
The MatchByName attribute determines how Microsoft Visio decides if a document master is already present when an instance of a master is dropped on the drawing page. It allows changes made to a document master to apply to new instances of the master, even if the instances are dragged from a stand-alone stencil file.
Public propertyName
The name of the element.
Public propertyNameU
The universal name of the element.
Public propertyPageSheet
Contains elements that define the page sheet for a Page or Master element.
Public propertyPatternFlags
The PatternFlags attribute determines whether a master behaves as a custom pattern.
Public propertyPrompt
The status bar and tool tip prompt for the element.
Public propertyShapes
Collection of Shape objects.
Public propertyUniqueID
A GUID that identifies the master within the document.
Public methodClone
Creates deep copy of this instance.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also