public class DiagramPage extends ContentPart
Represents a Visio document page.
| Modifier and Type | Method and Description |
|---|---|
void |
addWatermark(Watermark watermark,
DiagramShapeSettings shapeSettings) |
double |
convertValueFromDrawingScaleToPageScale(com.aspose.diagram.DoubleValue value) |
com.aspose.diagram.Page |
getAsposeDiagramPage() |
DiagramPage |
getBackgroundPage()
Gets the background page for this
. |
double |
getBottomMargin()
Gets the size of the bottom margin in points.
|
DiagramContent |
getContent() |
double |
getHeight()
Gets the height of this
in points. |
double |
getLeftMargin()
Gets the size of the left margin in points.
|
String |
getName()
Gets the name of this
DiagramPage. |
Integer |
getPageNumber() |
double |
getPageToDrawingScale() |
double |
getRightMargin()
Gets the size of the right margin in points.
|
DiagramShapeCollection |
getShapes()
Gets the collection of all shapes of the page.
|
double |
getTopMargin()
Gets the size of the top margin in points.
|
double |
getWidth()
Gets the width of this
in points. |
boolean |
isBackground()
Gets a value indicating whether the page is a background page.
|
boolean |
isVisible()
Gets a value indicating whether the page is visible in UI.
|
void |
setVisible(boolean value)
Sets a value indicating whether the page is visible in UI.
|
addWatermark, afterWatermarkAdding, checkWatermarkingLicenseRestrictions, findImages, findImages, getParts, getSearchWatermarksInParts, getStrategyManager, getTopParent, search, search, setParts, tryGetWatermarkerSettingspublic final void addWatermark(Watermark watermark, DiagramShapeSettings shapeSettings)
public final double convertValueFromDrawingScaleToPageScale(com.aspose.diagram.DoubleValue value)
public final com.aspose.diagram.Page getAsposeDiagramPage()
public final DiagramPage getBackgroundPage()
DiagramPage.DiagramPage.public final double getBottomMargin()
Gets the size of the bottom margin in points.
public final DiagramContent getContent()
public final double getHeight()
DiagramPage in points.DiagramPage in points.public final double getLeftMargin()
Gets the size of the left margin in points.
public final String getName()
Gets the name of this DiagramPage.
DiagramPage.public Integer getPageNumber()
public final double getPageToDrawingScale()
public final double getRightMargin()
Gets the size of the right margin in points.
public final DiagramShapeCollection getShapes()
Gets the collection of all shapes of the page.
public final double getTopMargin()
Gets the size of the top margin in points.
public final double getWidth()
DiagramPage in points.DiagramPage in points.public final boolean isBackground()
Gets a value indicating whether the page is a background page.
public final boolean isVisible()
Gets a value indicating whether the page is visible in UI.
public final void setVisible(boolean value)
Sets a value indicating whether the page is visible in UI.
value - The value indicating whether the page is visible in UI.
True if the page is visible; otherwise, false.Copyright © 2026. All rights reserved.