PDF4Java Reference Documentation
com.o2sol.pdf4java.content.batesnumbers Package / PDFBatesNumber Class / writeBatesNumber Method / writeBatesNumber(PDFFixedDocument,PDFBatesNumberProvider,PDFBatesNumberAppearance) Method
The document to be stamped.
The provider for the Bates numbers for each page in the document.
The appearance of the Bates number on the page.
Collapse All Expand All
In This Topic

writeBatesNumber(PDFFixedDocument,PDFBatesNumberProvider,PDFBatesNumberAppearance) Method
In This Topic
Stamps the document pages with Bates numbers.
Syntax

    public static void writeBatesNumber(
       PDFFixedDocument document,
       PDFBatesNumberProvider batesNumberProvider,
       PDFBatesNumberAppearance batesNumberAppearance
    )

#### Parameters

document
  The document to be stamped.
batesNumberProvider
  The provider for the Bates numbers for each page in the document.
batesNumberAppearance
  The appearance of the Bates number on the page.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When document is null.

See Also

#### Reference

PDFBatesNumber Class
PDFBatesNumber Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.