|
Makes a FormXObject out of
the page.
This process involves copying the page content stream to a new
Form XObject and referencing any required resources. The current
page is left unaltered.
The returned FormXObject shares the same ObjectSoup as its
source Page and can be added to other pages using AddXObject or
similar methods.
Form XObjects do not have Annotations so any annotation based
markup will be lost unless you Annotation.Stamp the visual
appearance into the page before calling this function.
The boundaries of the Form XObject are taken to be the CropBox
of the page. If you wish to use a different page bounding box you
can adjust the FormXObject.BBox
after the MakeFormXObject method has been called.
The page is converted without any page rotation effects. If you
wish to rotate the Form XObject this can be done by adjusting the
FormXObject.Matrix
after the MakeFormXObject method has been called.
The page UserUnit property may be used to scale a page for
mapping PDF coordinates to physical coordinates. There is no
equivalent for the FormXObject so this value is discarded.
|