java.lang.Object
com.aspose.diagram.Window
public class Window
| Constructor Summary |
|---|
Window()
Constructor. |
| Property Getters/Setters Summary | ||
|---|---|---|
int | getContainer() | |
void | setContainer(int) | |
| ID of container: Page, Sheet, or Master. Only relevant and necessary if ContainerType is specified. | ||
int | getContainerType() | |
void | setContainerType(int) | |
| May be one of the following values: Document, Page, or Master. Only relevant when WindowType is specified as Drawing or Sheet. The value of the property is ContainerTypeValue integer constant. | ||
java.lang.String | getDocument() | |
void | setDocument(java.lang.String) | |
| File path of the document displayed in this window. This attribute is relevant for windows whose WindowType is specified as Stencil. | ||
int | getDynamicGridEnabled() | |
void | setDynamicGridEnabled(int) | |
| Specifies whether the dynamic grid feature is enabled for a document or window. The value of the property is BOOL integer constant. | ||
int | getGlueSettings() | |
void | setGlueSettings(int) | |
| Specifies the objects that shapes glue to when glue is enabled in the document. The value of the property is GlueSettingsValue integer constant. | ||
int | getID() | |
void | setID(int) | |
| The unique ID of the element within its parent element. | ||
Master | getMaster() | |
void | setMaster(Master) | |
| Master ID if this window is displaying a master. | ||
Page | getPage() | |
void | setPage(Page) | |
| Page ID if this window is displaying a page. Relevant only when WindowType is specified as Drawing and ContainerType is specified as Page. | ||
int | getParentWindow() | |
void | setParentWindow(int) | |
| ID of window in which this stencil window is contained. Relevant only when WindowType is specified as Stencil. | ||
int | getReadOnly() | |
void | setReadOnly(int) | |
| Read-only flag if this stencil is not a document stencil. The value of the property is BOOL integer constant. | ||
int | getSheet() | |
void | setSheet(int) | |
| ID of sheet in container. Relevant only when Container is specified as Sheet. | ||
int | getShowConnectionPoints() | |
void | setShowConnectionPoints(int) | |
| Specifies whether connection points are shown in a window. The value of the property is BOOL integer constant. | ||
int | getShowGrid() | |
void | setShowGrid(int) | |
| Specifies whether a grid is shown in the drawing window. The value of the property is BOOL integer constant. | ||
int | getShowGuides() | |
void | setShowGuides(int) | |
| Specifies whether guides are shown in the drawing window. The value of the property is BOOL integer constant. | ||
int | getShowPageBreaks() | |
void | setShowPageBreaks(int) | |
| Specifies whether page breaks are shown in a window. The value of the property is BOOL integer constant. | ||
int | getShowRulers() | |
void | setShowRulers(int) | |
| Specifies whether rulers are shown in the drawing window. The value of the property is BOOL integer constant. | ||
FloatPointNumCollection | getSnapAngles() | |
| Contains a collection of SnapAngle elements. | ||
int | getSnapExtensions() | |
void | setSnapExtensions(int) | |
| Specifies whether a specific snap extension setting is enabled or disabled for the active window. The value can be a sum of the values in the following table. The value of the property is SnapExtensionsValue integer constant. | ||
int | getSnapSettings() | |
void | setSnapSettings(int) | |
| Specifies the objects that shapes snap to when snap is active in the window. The value may be a sum of the values in the following table. The value of the property is SnapSettingsValue integer constant. | ||
java.lang.String | getStencilGroup() | |
void | setStencilGroup(java.lang.String) | |
| Specifies the group of merged stencil windows of which the window is a member. This attribute is relevant only for Window elements whose WindowType attribute is Stencil, and only if the stencil window is part of a merged group of stencil windows. All stencil windows that are part of the same merged group have the same StencilGroup element value. | ||
int | getStencilGroupPos() | |
void | setStencilGroupPos(int) | |
| Contains an integer that specifies the relative position of a stencil within a group in a window. | ||
double | getTabSplitterPos() | |
void | setTabSplitterPos(double) | |
| Specifies the width of the page tab control of a drawing window (as a fraction of the total width of the drawing window). | ||
double | getViewCenterX() | |
void | setViewCenterX(double) | |
| Optional double. | ||
double | getViewCenterY() | |
void | setViewCenterY(double) | |
| Optional double. | ||
double | getViewScale() | |
void | setViewScale(double) | |
| Optional double. | ||
long | getWindowHeight() | |
void | setWindowHeight(long) | |
| Height of the window rectangle. | ||
int | getWindowLeft() | |
void | setWindowLeft(int) | |
| Left coordinate of the window rectangle. | ||
int | getWindowState() | |
void | setWindowState(int) | |
| This attribute can be a sum of the following values. The value of the property is WindowStateValue integer constant. | ||
int | getWindowTop() | |
void | setWindowTop(int) | |
| Top coordinate of the window rectangle. | ||
int | getWindowType() | |
void | setWindowType(int) | |
| An enumerated value that may be one of the following: Drawing, Sheet, Stencil, or Icon.A Window element of WindowType='Stencil' must appear after its parent drawing window (WindowType='Drawing') and before any other drawing window elements. The value of the property is WindowTypeValue integer constant. | ||
long | getWindowWidth() | |
void | setWindowWidth(long) | |
| Width of the window rectangle. | ||
| Constructor Detail |
|---|
public Window()
| Property Getters/Setters Detail |
|---|
getStencilGroup/setStencilGroup | |
public java.lang.String getStencilGroup() / public void setStencilGroup(java.lang.String value) | |
getStencilGroupPos/setStencilGroupPos | |
public int getStencilGroupPos() / public void setStencilGroupPos(int value) | |
getShowRulers/setShowRulers | |
public int getShowRulers() / public void setShowRulers(int value) | |
getShowGrid/setShowGrid | |
public int getShowGrid() / public void setShowGrid(int value) | |
getShowPageBreaks/setShowPageBreaks | |
public int getShowPageBreaks() / public void setShowPageBreaks(int value) | |
getShowGuides/setShowGuides | |
public int getShowGuides() / public void setShowGuides(int value) | |
getShowConnectionPoints/setShowConnectionPoints | |
public int getShowConnectionPoints() / public void setShowConnectionPoints(int value) | |
getGlueSettings/setGlueSettings | |
public int getGlueSettings() / public void setGlueSettings(int value) | |
getSnapSettings/setSnapSettings | |
public int getSnapSettings() / public void setSnapSettings(int value) | |
getSnapExtensions/setSnapExtensions | |
public int getSnapExtensions() / public void setSnapExtensions(int value) | |
getSnapAngles | |
public FloatPointNumCollection getSnapAngles() | |
getDynamicGridEnabled/setDynamicGridEnabled | |
public int getDynamicGridEnabled() / public void setDynamicGridEnabled(int value) | |
getTabSplitterPos/setTabSplitterPos | |
public double getTabSplitterPos() / public void setTabSplitterPos(double value) | |
getID/setID | |
public int getID() / public void setID(int value) | |
getWindowType/setWindowType | |
public int getWindowType() / public void setWindowType(int value) | |
getWindowState/setWindowState | |
public int getWindowState() / public void setWindowState(int value) | |
getDocument/setDocument | |
public java.lang.String getDocument() / public void setDocument(java.lang.String value) | |
getWindowLeft/setWindowLeft | |
public int getWindowLeft() / public void setWindowLeft(int value) | |
getWindowTop/setWindowTop | |
public int getWindowTop() / public void setWindowTop(int value) | |
getWindowWidth/setWindowWidth | |
public long getWindowWidth() / public void setWindowWidth(long value) | |
getWindowHeight/setWindowHeight | |
public long getWindowHeight() / public void setWindowHeight(long value) | |
getMaster/setMaster | |
public Master getMaster() / public void setMaster(Master value) | |
getContainerType/setContainerType | |
public int getContainerType() / public void setContainerType(int value) | |
getContainer/setContainer | |
public int getContainer() / public void setContainer(int value) | |
getSheet/setSheet | |
public int getSheet() / public void setSheet(int value) | |
getReadOnly/setReadOnly | |
public int getReadOnly() / public void setReadOnly(int value) | |
getParentWindow/setParentWindow | |
public int getParentWindow() / public void setParentWindow(int value) | |
getPage/setPage | |
public Page getPage() / public void setPage(Page value) | |
getViewScale/setViewScale | |
public double getViewScale() / public void setViewScale(double value) | |
getViewCenterX/setViewCenterX | |
public double getViewCenterX() / public void setViewCenterX(double value) | |
getViewCenterY/setViewCenterY | |
public double getViewCenterY() / public void setViewCenterY(double value) | |