com.groupdocs.watermark.contents

Interfaces

Classes

com.groupdocs.watermark.contents

Class WordProcessingShape

    • Method Detail

      • getShapeType

        public final int getShapeType()

        Gets the shape type.

        Returns:
        The shape type.
      • isWordArt

        public final boolean isWordArt()
        Gets a value indicating whether this WordProcessingShape is a WordArt object.
        Returns:
        True if the shape is a WordArt object; otherwise, false.
      • getAlternativeText

        public final String getAlternativeText()
        Gets the descriptive (alternative) text associated with this WordProcessingShape.
        Returns:
        The descriptive (alternative) text associated with this WordProcessingShape.
      • setAlternativeText

        public final void setAlternativeText(String value)
        Sets the descriptive (alternative) text associated with this WordProcessingShape.
        Parameters:
        value - The descriptive (alternative) text associated with this WordProcessingShape.
      • getBehindText

        public final boolean getBehindText()

        Gets a value indicating whether the shape is over or behind the text.

        Returns:
        The value indicating whether the shape is over or behind the text. True if the shape is behind the text; otherwise, false.
      • setBehindText

        public final void setBehindText(boolean value)

        Sets a value indicating whether the shape is over or behind the text.

        Parameters:
        value - The value indicating whether the shape is over or behind the text. True if the shape is behind the text; otherwise, false.
      • getHorizontalAlignment

        public final int getHorizontalAlignment()

        Gets a value specifying how the shape is positioned horizontally.

        Returns:
        The horizontal alignment value.
      • getVerticalAlignment

        public final int getVerticalAlignment()

        Gets a value specifying how the shape is positioned vertically.

        Returns:
        The vertical alignment value.
      • getRelativeHorizontalPosition

        public final int getRelativeHorizontalPosition()

        Gets a value specifying to what the shape is positioned horizontally.

        Returns:
        The relative horizontal position value.
      • getRelativeVerticalPosition

        public final int getRelativeVerticalPosition()

        Gets a value specifying to what the shape is positioned vertically.

        Returns:
        The relative vertical position value.
      • setRotateAngle

        public final void setRotateAngle(double value)
        Sets the rotate angle of this WordProcessingShape in degrees.
        Parameters:
        value - The rotate angle of this WordProcessingShape in degrees.
      • setX

        public final void setX(double value)
        Gets or sets the horizontal offset of this WordProcessingShape from page left border in points.
        Parameters:
        value - The x-coordinate of this WordProcessingShape.
      • setY

        public final void setY(double value)
        Sets the vertical offset of this WordProcessingShape from page top border in points.
        Parameters:
        value - The y-coordinate of this WordProcessingShape.