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

getAsCosStream Method
In This Topic
Gets the value of the specified key as a COS stream.
Syntax

    public PDFCosStream getAsCosStream(
       PDFCosName key,
       PDFCosStream 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.