Gets the text of this [PdfShape](../../com.groupdocs.watermark.contents/pdfshape).
Returns:
java.lang.String - The text of this [PdfShape](../../com.groupdocs.watermark.contents/pdfshape).
setText(String value)
public void setText(String value)
Gets or sets the text of this [PdfShape](../../com.groupdocs.watermark.contents/pdfshape).
Parameters:
Parameter
Type
Description
value
java.lang.String
The text of this [PdfShape](../../com.groupdocs.watermark.contents/pdfshape).
getFormattedTextFragments()
public final FormattedTextFragmentCollection getFormattedTextFragments()
Gets the collection of formatted text fragments of this [PdfShape](../../com.groupdocs.watermark.contents/pdfshape).
Returns:FormattedTextFragmentCollection - The collection of formatted text fragments of this [PdfShape](../../com.groupdocs.watermark.contents/pdfshape).
getImage()
public final PdfWatermarkableImage getImage()
Gets the image of this [PdfShape](../../com.groupdocs.watermark.contents/pdfshape).
Returns:PdfWatermarkableImage - The image of this [PdfShape](../../com.groupdocs.watermark.contents/pdfshape).
setImage(PdfWatermarkableImage value)
public final void setImage(PdfWatermarkableImage value)
Sets the image of this [PdfShape](../../com.groupdocs.watermark.contents/pdfshape).