2020.1

Table Of Contents
rotateAngle, scaleFactor,
layerName)" on page269
Optional Content Group).
Supported image types are JPG and PNG.
"MergeToLayer2
(srcPage, left, top,
rotateAngle, scaleFactor,
layerName)" on page270
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271 "IPdfRect"
on
page273
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.
scale
Scale at which to draw. To draw at the 100% size, use a scale of device_dpi / 72. Do not use
the DC to do the scaling; this will result in scaling artifacts being drawn.
offsetX
Page 262