com.groupdocs.watermark.legacy

Interfaces

Classes

Exceptions

com.groupdocs.watermark.legacy

Class DiagramPage

    • Method Detail

      • getShapes

        public final DiagramShapeCollection getShapes()
        Deprecated. 

        Gets the collection of all shapes of the page.

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

        public final boolean isBackground()
        Deprecated. 

        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()
        Deprecated. 

        Gets the background page for this DiagramPage.

        Returns:
        The background page for this DiagramPage.
      • getWidth

        public final double getWidth()
        Deprecated. 

        Gets the width of this DiagramPage in points.

        Returns:
        The width of this DiagramPage in points.
      • getHeight

        public final double getHeight()
        Deprecated. 

        Gets the height of this DiagramPage in points.

        Returns:
        The height of this DiagramPage in points.
      • getTopMargin

        public final double getTopMargin()
        Deprecated. 

        Gets the size of the top margin in points.

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

        public final double getRightMargin()
        Deprecated. 

        Gets the size of the right margin in points.

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

        public final double getBottomMargin()
        Deprecated. 

        Gets the size of the bottom margin in points.

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

        public final double getLeftMargin()
        Deprecated. 

        Gets the size of the left margin in points.

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

        public final boolean isVisible()
        Deprecated. 

        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)
        Deprecated. 

        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()
        Deprecated. 

        Gets the name of this DiagramPage.

        Returns:
        The name of this DiagramPage.
      • addWatermark

        public void addWatermark(Watermark watermark)
        Deprecated. 

        Adds a watermark to this DiagramPage. This method assumes that watermark offset and size are measured in points (if they are assigned).

        Overrides:
        addWatermark in class DocumentPart
        Parameters:
        watermark - The watermark to add to the document.
      • addWatermark

        public final void addWatermark(Watermark watermark,
                        DiagramShapeSettings shapeSettings)
        Deprecated. 

        Adds a watermark to this DiagramPage. This method assumes that watermark offset and size are measured in points (if they are assigned).

        Parameters:
        watermark - The watermark to add to the document.
        shapeSettings - Shape settings that should be applied to the watermark.