Debenu Quick PDF logo

AddPageMatrix

Page manipulation

Version history

This function was introduced in Quick PDF Library version 10.15.

Description

Function will scale the page contents in either direction and also move the page up, down, left or right. The parameters are in points where 72 points = 1 inch.

xscale = 1, yscale = 1 is the required for 100% scaling.

scale = 2 scale the width by a factor of 2 or 200%

xoffset = 72 moves the page 1 inch to the right. -72 1 inch to the left

yoffset = 72 moves the page 1 up and -72 moves the page 1 inch down

Syntax

Delphi

function TDebenuPDFLibrary1811.AddPageMatrix(xscale, yscale, xoffset, 
  yoffset: Double): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::AddPageMatrix(xscale As Double,
  yscale As Double, xoffset As Double, yoffset As Double) As Long

DLL

int DPLAddPageMatrix(int InstanceID, double xscale, double yscale, double xoffset,
  double yoffset)

Parameters

xscale Horizontal scale
yscale Vertical scale
xoffset Horizontal offset
yoffset Vertical offset

Return values

1 Page matrix added successfuly
0 Failed adding page matrix

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport