DiagramHeaderFooterPossibleWatermark

Inheritance: java.lang.Object, com.groupdocs.watermark.search.PossibleWatermark

public class DiagramHeaderFooterPossibleWatermark extends PossibleWatermark

Represents possible watermark in a Visio document header/footer.

Constructors

Constructor Description
DiagramHeaderFooterPossibleWatermark(DiagramContent content, int headerFooterType)

Methods

Method Description
getParent() Gets the parent of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).
getWidth() Gets the width of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark) in points.
getHeight() Gets the height of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark) in points.
getX() Gets the horizontal offset of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark) from page left border in points.
getY() Gets the vertical offset of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark) from page bottom border in points.
getRotateAngle() Gets the rotate angle of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark) in degrees.
getText() Gets the text of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).
setText(String value) Sets the text of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).
getUnitOfMeasurement() Gets the [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).
remove()

DiagramHeaderFooterPossibleWatermark(DiagramContent content, int headerFooterType)

public DiagramHeaderFooterPossibleWatermark(DiagramContent content, int headerFooterType)

Parameters:

Parameter Type Description
content DiagramContent
headerFooterType int

getParent()

public ContentPart getParent()

Gets the parent of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).

Returns: ContentPart - The parent of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).

getWidth()

public double getWidth()

Gets the width of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark) in points.

Returns: double - The value is always 0 for this type of possible watermark.

getHeight()

public double getHeight()

Gets the height of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark) in points.

Returns: double - The value is always 0 for this type of possible watermark.

getX()

public double getX()

Gets the horizontal offset of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark) from page left border in points.

Returns: double - The value is always 0 for this type of possible watermark.

getY()

public double getY()

Gets the vertical offset of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark) from page bottom border in points.

Returns: double - The value is always 0 for this type of possible watermark.

getRotateAngle()

public double getRotateAngle()

Gets the rotate angle of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark) in degrees.

Returns: double - The value is always 0 for this type of possible watermark.

getText()

public String getText()

Gets the text of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).

Returns: java.lang.String - The text of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).

setText(String value)

public void setText(String value)

Sets the text of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).

Parameters:

Parameter Type Description
value java.lang.String The text of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).

getUnitOfMeasurement()

public int getUnitOfMeasurement()

Gets the [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).

Returns: int - The [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of this [DiagramHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/diagramheaderfooterpossiblewatermark).

remove()

public void remove()