PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFRubberStampAnnotation Class / setStampType Method
The type of the stamp.
Collapse All Expand All
In This Topic

setStampType Method
In This Topic
Sets the stamp type.
The stamp name defines the stamp's visual appearance. The library supports a predefined set of names for which standard appearance is created. When a custom name is used, a custom appearance must also be provided.
Syntax

    public void setStampType(
       java.lang.String stampType
    )

#### Parameters

stampType
  The type of the stamp.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | when stampType is null or empty.

See Also

#### Reference

PDFRubberStampAnnotation Class
PDFRubberStampAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.