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

getAsNumber Method
In This Topic
Gets the value of the specified key as a double.
Syntax

    public double getAsNumber(
       PDFCosName key,
       double 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.