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
SystemObject
  Aspose.DiagramMaster

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

The Master type exposes the following members.

Constructors
  NameDescription
Public methodMaster
Constructor.
Properties
  NameDescription
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.
Methods
  NameDescription
Public methodClone
Creates deep copy of this instance.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
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