Add a content layer to the page.
By default the layer will go at the top or front of the page. By
supplying an index parameter you can position your new layer behind
other layers that already exist.
Layers draw in sequence when displayed which means that later
layers may draw over the top of earlier layers.
Any StreamObject
that is supplied should contain PDF drawing operations. The data
and text overloads are convenience functions for common
operations.
You will need to ensure that any resources that are referenced
in this content stream have been added to the resources of the page
using a method such as AddResource.
|