java.lang.Object
com.aspose.diagram.Master
- All Implemented Interfaces:
- java.lang.Cloneable
public class Master
- extends java.lang.Object
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.
|
Constructor Summary |
Master()
Constructor.
|
|
Property Getters/Setters Summary |
int | getAlignName() | |
void | setAlignName(int) | |
|
Specifies whether the master's text in the stencil window is aligned left, right, or center.
The value of the property is AlignNameValue integer constant. |
java.util.UUID | getBaseID() | |
|
A GUID (globally unique identifier) that identifies the master across documents.
|
ConnectCollection | getConnects() | |
|
Contains a Connect element for each connection between two shapes in a drawing.
|
int | getHidden() | |
void | setHidden(int) | |
|
Specifies whether the master is hidden in the user interface.
The value of the property is BOOL integer constant. |
byte[] | getIcon() | |
void | setIcon(byte[]) | |
|
Specifies a MIME (Multipurpose Internet Mail Extensions) encoded binary icon (in .ico format) for a Master or MasterShortcut element in a document.
|
int | getIconSize() | |
void | setIconSize(int) | |
|
The size of the element's icon.
The value of the property is IconSizeValue integer constant. |
int | getIconUpdate() | |
void | setIconUpdate(int) | |
|
Specifies whether the icon is automatically generated from the master itself.
The value of the property is BOOL integer constant. |
int | getID() | |
void | setID(int) | |
|
The unique ID of the element within its parent element.
|
int | getMatchByName() | |
void | setMatchByName(int) | |
|
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.
The value of the property is BOOL integer constant. |
java.lang.String | getName() | |
void | setName(java.lang.String) | |
|
The name of the element.
|
java.lang.String | getNameU() | |
void | setNameU(java.lang.String) | |
|
The universal name of the element.
|
PageSheet | getPageSheet() | |
|
Contains elements that define the page sheet for a Page or Master element.
|
int | getPatternFlags() | |
void | setPatternFlags(int) | |
|
The PatternFlags attribute determines whether a master behaves as a custom pattern.
|
java.lang.String | getPrompt() | |
void | setPrompt(java.lang.String) | |
|
The status bar and tool tip prompt for the element.
|
ShapeCollection | getShapes() | |
|
Collection of Shape objects.
|
java.util.UUID | getUniqueID() | |
|
A GUID that identifies the master within the document.
|
|
Method Summary |
java.lang.Object | deepClone() | |
|
Creates deep copy of this instance.
|
void | dispose() | |
|
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources.
|
Master
public Master()
-
Constructor.
|
Property Getters/Setters Detail |
getID/setID | |
public int getID() / public void setID(int value)
|
-
The unique ID of the element within its parent element.
getBaseID | |
public java.util.UUID getBaseID()
|
-
A GUID (globally unique identifier) that identifies the master across documents.
getUniqueID | |
public java.util.UUID getUniqueID()
|
-
A GUID that identifies the master within the document.
getMatchByName/setMatchByName | |
public int getMatchByName() / public void setMatchByName(int value)
|
-
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.
The value of the property is BOOL integer constant.
getName/setName | |
public java.lang.String getName() / public void setName(java.lang.String value)
|
-
The name of the element.
getNameU/setNameU | |
public java.lang.String getNameU() / public void setNameU(java.lang.String value)
|
-
The universal name of the element.
getIconSize/setIconSize | |
public int getIconSize() / public void setIconSize(int value)
|
-
The size of the element's icon.
The value of the property is IconSizeValue integer constant.
getPatternFlags/setPatternFlags | |
public int getPatternFlags() / public void setPatternFlags(int value)
|
-
The PatternFlags attribute determines whether a master behaves as a custom pattern.
getPrompt/setPrompt | |
public java.lang.String getPrompt() / public void setPrompt(java.lang.String value)
|
-
The status bar and tool tip prompt for the element.
getHidden/setHidden | |
public int getHidden() / public void setHidden(int value)
|
-
Specifies whether the master is hidden in the user interface.
The value of the property is BOOL integer constant.
getIconUpdate/setIconUpdate | |
public int getIconUpdate() / public void setIconUpdate(int value)
|
-
Specifies whether the icon is automatically generated from the master itself.
The value of the property is BOOL integer constant.
getAlignName/setAlignName | |
public int getAlignName() / public void setAlignName(int value)
|
-
Specifies whether the master's text in the stencil window is aligned left, right, or center.
The value of the property is AlignNameValue integer constant.
-
Collection of Shape objects.
-
Contains a Connect element for each connection between two shapes in a drawing.
getIcon/setIcon | |
public byte[] getIcon() / public void setIcon(byte[] value)
|
-
Specifies a MIME (Multipurpose Internet Mail Extensions) encoded binary icon (in .ico format) for a Master or MasterShortcut element in a document.
-
Contains elements that define the page sheet for a Page or Master element.
dispose | |
public void dispose() |
-
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources.
deepClone | |
public java.lang.Object deepClone()
throws java.lang.Exception |
-
Creates deep copy of this instance.
- Returns:
See Also:
Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
Aspose.Diagram Support Forum - our preferred method of support.