public class SpreadsheetCellPossibleWatermark extends PossibleWatermark
Represents possible cell watermark in an Excel document.
| Constructor and Description |
|---|
SpreadsheetCellPossibleWatermark(com.aspose.cells.Cell cell,
SpreadsheetWorksheet parent) |
| Modifier and Type | Method and Description |
|---|---|
FormattedTextFragmentCollection |
getFormattedTextFragments()
Gets the collection of formatted text fragments of this
. |
double |
getHeight()
Gets the height of this
in points. |
ContentPart |
getParent()
Gets the parent of this
. |
double |
getRotateAngle()
Gets the rotate angle of this
in degrees. |
String |
getText()
Gets the text of this
. |
int |
getUnitOfMeasurement()
Gets the
of this . |
double |
getWidth()
Gets the width of this
in points. |
double |
getX()
Gets the horizontal offset of this
from content left border in points. |
double |
getY()
Gets the vertical offset of this
from content
top border in points. |
void |
remove() |
void |
setText(String value)
Sets the text of this
. |
getCollection, getImageData, getImageInternally, getImageSize, getPageNumber, setCollection, setImageDatapublic SpreadsheetCellPossibleWatermark(com.aspose.cells.Cell cell,
SpreadsheetWorksheet parent)
public FormattedTextFragmentCollection getFormattedTextFragments()
SpreadsheetCellPossibleWatermark.getFormattedTextFragments in class PossibleWatermarkSpreadsheetCellPossibleWatermark.public double getHeight()
SpreadsheetCellPossibleWatermark in points.getHeight in class PossibleWatermarkSpreadsheetCellPossibleWatermark in points.public ContentPart getParent()
SpreadsheetCellPossibleWatermark.getParent in class PossibleWatermarkSpreadsheetCellPossibleWatermark.public double getRotateAngle()
SpreadsheetCellPossibleWatermark in degrees.getRotateAngle in class PossibleWatermarkSpreadsheetCellPossibleWatermark in degrees.public String getText()
SpreadsheetCellPossibleWatermark.getText in class PossibleWatermarkSpreadsheetCellPossibleWatermark.public int getUnitOfMeasurement()
UnitOfMeasurement
of this SpreadsheetCellPossibleWatermark.getUnitOfMeasurement in class PossibleWatermarkUnitOfMeasurement
of this SpreadsheetCellPossibleWatermark.public double getWidth()
SpreadsheetCellPossibleWatermark in points.getWidth in class PossibleWatermarkSpreadsheetCellPossibleWatermark in points.public double getX()
SpreadsheetCellPossibleWatermark
from content left border in points.getX in class PossibleWatermarkSpreadsheetCellPossibleWatermark.public double getY()
SpreadsheetCellPossibleWatermark from content
top border in points.getY in class PossibleWatermarkSpreadsheetCellPossibleWatermark.public void remove()
remove in class PossibleWatermarkpublic void setText(String value)
SpreadsheetCellPossibleWatermark.setText in class PossibleWatermarkvalue - The text of this SpreadsheetCellPossibleWatermark.Copyright © 2026. All rights reserved.