public class SpreadsheetBackgroundPossibleWatermark extends PossibleWatermark
Represents possible background watermark in an Excel document.
| Constructor and Description |
|---|
SpreadsheetBackgroundPossibleWatermark(SpreadsheetWorksheet worksheet) |
| Modifier and Type | Method and Description |
|---|---|
double |
getHeight()
Gets the height of this
in pixels. |
WatermarkableImage |
getImageInternally() |
ContentPart |
getParent()
Gets the parent of this
. |
double |
getRotateAngle()
Gets the rotate angle of this
in degrees. |
int |
getUnitOfMeasurement()
Gets the
of this . |
double |
getWidth()
Gets the width of this
in pixels. |
double |
getX()
Gets the horizontal offset of this
from worksheet left border
in pixels. |
double |
getY()
Gets the vertical offset of this
from worksheet top border in
pixels. |
void |
remove() |
getCollection, getFormattedTextFragments, getImageData, getImageSize, getPageNumber, getText, setCollection, setImageData, setTextpublic SpreadsheetBackgroundPossibleWatermark(SpreadsheetWorksheet worksheet)
public double getHeight()
SpreadsheetBackgroundPossibleWatermark in pixels.getHeight in class PossibleWatermarkSpreadsheetBackgroundPossibleWatermark in pixels.public WatermarkableImage getImageInternally()
getImageInternally in class PossibleWatermarkpublic ContentPart getParent()
SpreadsheetBackgroundPossibleWatermark.getParent in class PossibleWatermarkSpreadsheetBackgroundPossibleWatermark.public double getRotateAngle()
SpreadsheetBackgroundPossibleWatermark in degrees.getRotateAngle in class PossibleWatermarkSpreadsheetBackgroundPossibleWatermark in degrees.public int getUnitOfMeasurement()
UnitOfMeasurement
of this SpreadsheetBackgroundPossibleWatermark.getUnitOfMeasurement in class PossibleWatermarkUnitOfMeasurement
of this SpreadsheetBackgroundPossibleWatermark.public double getWidth()
SpreadsheetBackgroundPossibleWatermark in pixels.getWidth in class PossibleWatermarkSpreadsheetBackgroundPossibleWatermark in pixels.public double getX()
SpreadsheetBackgroundPossibleWatermark from worksheet left border
in pixels.getX in class PossibleWatermarkSpreadsheetBackgroundPossibleWatermark.public double getY()
SpreadsheetBackgroundPossibleWatermark from worksheet top border in
pixels.getY in class PossibleWatermarkSpreadsheetBackgroundPossibleWatermark.public void remove()
remove in class PossibleWatermarkCopyright © 2026. All rights reserved.