PdfTextAnnotationAppearance

Inheritance: java.lang.Object, com.groupdocs.signature.options.appearances.SignatureAppearance

public class PdfTextAnnotationAppearance extends SignatureAppearance

Describes appearance of PDF text annotation object (Title, Subject, Content).

Constructors

Constructor Description
PdfTextAnnotationAppearance() Creates PDF signature txt annotation appearance object.
PdfTextAnnotationAppearance(String title, String subject, String contents) Creates PDF signature txt annotation with specified values (title, subject, contents).

Methods

Method Description
getContents() Gets or sets content of annotation object.
setContents(String value) Gets or sets content of annotation object.
getSubject() Gets or sets Subject representing description of the object.
setSubject(String value) Gets or sets Subject representing description of the object.
getTitle() Gets or sets a Title that will be displayed in title bar of annotation object.
setTitle(String value) Gets or sets a Title that will be displayed in title bar of annotation object.
getBorder() Gets or sets different border settings
setBorder(Border value) Gets or sets different border settings
getBorderEffect() Gets or sets border effect.
setBorderEffect(int value) Gets or sets border effect.
getBorderEffectIntensity() Gets or sets border effect intensity.
setBorderEffectIntensity(int value) Gets or sets border effect intensity.
getHCornerRadius() Gets or sets horizontal corner radius.
setHCornerRadius(int value) Gets or sets horizontal corner radius.
getVCornerRadius() Gets or sets vertical corner radius.
setVCornerRadius(int value) Gets or sets vertical corner radius.
toString() Override string conversion.

PdfTextAnnotationAppearance()

public PdfTextAnnotationAppearance()

Creates PDF signature txt annotation appearance object.

PdfTextAnnotationAppearance(String title, String subject, String contents)

public PdfTextAnnotationAppearance(String title, String subject, String contents)

Creates PDF signature txt annotation with specified values (title, subject, contents).

Parameters:

Parameter Type Description
title java.lang.String Title.
subject java.lang.String Subject.
contents java.lang.String Contents.

getContents()

public final String getContents()

Gets or sets content of annotation object.

Returns: java.lang.String

setContents(String value)

public final void setContents(String value)

Gets or sets content of annotation object.

Parameters:

Parameter Type Description
value java.lang.String

getSubject()

public final String getSubject()

Gets or sets Subject representing description of the object.

Returns: java.lang.String

setSubject(String value)

public final void setSubject(String value)

Gets or sets Subject representing description of the object.

Parameters:

Parameter Type Description
value java.lang.String

getTitle()

public final String getTitle()

Gets or sets a Title that will be displayed in title bar of annotation object.

Returns: java.lang.String

setTitle(String value)

public final void setTitle(String value)

Gets or sets a Title that will be displayed in title bar of annotation object.

Parameters:

Parameter Type Description
value java.lang.String

getBorder()

public final Border getBorder()

Gets or sets different border settings

Returns: Border

setBorder(Border value)

public final void setBorder(Border value)

Gets or sets different border settings

Parameters:

Parameter Type Description
value Border

getBorderEffect()

public final int getBorderEffect()

Gets or sets border effect.

Returns: int

setBorderEffect(int value)

public final void setBorderEffect(int value)

Gets or sets border effect.

Parameters:

Parameter Type Description
value int

getBorderEffectIntensity()

public final int getBorderEffectIntensity()

Gets or sets border effect intensity. Valid range of value is [0..2].

Returns: int

setBorderEffectIntensity(int value)

public final void setBorderEffectIntensity(int value)

Gets or sets border effect intensity. Valid range of value is [0..2].

Parameters:

Parameter Type Description
value int

getHCornerRadius()

public final int getHCornerRadius()

Gets or sets horizontal corner radius.

Returns: int

setHCornerRadius(int value)

public final void setHCornerRadius(int value)

Gets or sets horizontal corner radius.

Parameters:

Parameter Type Description
value int

getVCornerRadius()

public final int getVCornerRadius()

Gets or sets vertical corner radius.

Returns: int

setVCornerRadius(int value)

public final void setVCornerRadius(int value)

Gets or sets vertical corner radius.

Parameters:

Parameter Type Description
value int

toString()

public String toString()

Override string conversion.

Returns: java.lang.String -