PDF4Java Reference Documentation
com.o2sol.pdf4java.core.cos Package / PDFCosDictionary Class / getAsCosNumber Method
Key to return.
Default value to return if the key does not exist.
Collapse All Expand All
In This Topic

getAsCosNumber Method
In This Topic
Gets the value of the specified key as a COS number.
Syntax

    public PDFCosNumber getAsCosNumber(
       PDFCosName key,
       PDFCosNumber defaultValue
    )

#### Parameters

key
  Key to return.
defaultValue
  Default value to return if the key does not exist.

#### Return Value

The key value
See Also

#### Reference

PDFCosDictionary Class
PDFCosDictionary Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.