com.groupdocs.watermark.contents

Interfaces

Classes

com.groupdocs.watermark.contents

Class DiagramPage



  • public class DiagramPage
    extends ContentPart

    Represents a Visio document page.

    • Method Detail

      • getShapes

        public final DiagramShapeCollection getShapes()

        Gets the collection of all shapes of the page.

        Returns:
        The collection of all shapes of the page.
      • isBackground

        public final boolean isBackground()

        Gets a value indicating whether the page is a background page.

        Returns:
        True if the page is a background page; otherwise, false.
      • getBackgroundPage

        public final DiagramPage getBackgroundPage()
        Gets the background page for this <>DiagramPage.
        Returns:
        The background page for this <>DiagramPage.
      • getWidth

        public final double getWidth()
        Gets the width of this <>DiagramPage in points.
        Returns:
        The width of this <>DiagramPage in points.
      • getHeight

        public final double getHeight()
        Gets the height of this <>DiagramPage in points.
        Returns:
        The height of this <>DiagramPage in points.
      • getTopMargin

        public final double getTopMargin()

        Gets the size of the top margin in points.

        Returns:
        The size of the top margin in points.
      • getRightMargin

        public final double getRightMargin()

        Gets the size of the right margin in points.

        Returns:
        The size of the right margin in points.
      • getBottomMargin

        public final double getBottomMargin()

        Gets the size of the bottom margin in points.

        Returns:
        The size of the bottom margin in points.
      • getLeftMargin

        public final double getLeftMargin()

        Gets the size of the left margin in points.

        Returns:
        The size of the left margin in points.
      • isVisible

        public final boolean isVisible()

        Gets a value indicating whether the page is visible in UI.

        Returns:
        The value indicating whether the page is visible in UI. True if the page is visible; otherwise, false.
      • setVisible

        public final void setVisible(boolean value)

        Sets a value indicating whether the page is visible in UI.

        Parameters:
        value - The value indicating whether the page is visible in UI. True if the page is visible; otherwise, false.
      • getName

        public final String getName()

        Gets the name of this DiagramPage.

        Returns:
        The name of this DiagramPage.