Represents the tokenized content of a PDF rendering program which is called a
"content stream".
A PDF rendering program is a sequence of operations, each build by a list of
operands followed by the operator.
Any visual appearance in a PDF document is build on a content stream. For
example a PDPage hosts a content stream (or a list of content streams) to
define its appearance.
A content stream has no access to indirect objects, this means object
references are not valid operands for operations. Complex objects are used
within a content stream via an indirection defined in a resource dictionary.
The
CSContent itself is decoupled from its source of creation, this
means after manipulating the content stream you have to apply it where you
want to (for example adding it to a page).
You can work on the content stream directly, adding and removing operations.
A more elegant way to manipulate this is using a
CSCreator ,
providing high level methods for the different content stream operations.
|