2019.2

Table Of Contents
on page278 Supported image types are: JPG and
PNG.
"Merge2(srcPage, left, top,
rotateAngle, scaleFactor)"
on page279
Transparently places a PDF page on top
of the current page at a specific location.
"MergeToLayer(imageFile,
left, top, rotateAngle,
scaleFactor, layerName)" on
page280
This method behaves the same as Merge()
but allows to insert the image as a layer
(aka an Optional Content Group).
Supported image types are JPG and PNG.
"MergeToLayer2(srcPage,
left, top, rotateAngle,
scaleFactor, layerName)" on
page281
This method behaves the same as Merge2
() but allows to put the source page as a
layer (aka an Optional Content Group).
"Size()" on page282 "IPdfRect" on
page284
Returns the size of the rectangle that is
used to clip (crop) the content of the page
before applying it to the medium, in points.
IPage methods reference
Draw(context, scale, offsetX, offsetY)
Draws the page onto the device context. This method is highly dependent on the state of the
device context and there are a few interaction pitfalls to lookout for. See below for details.
Note: This method is not available in all scripting environments.
Syntax
VOID Draw (
HDC context,
FLOAT scale,
LONG offsetX,
LONG offsetY
)
context
Device context on which to draw the page.
Page 273