Debenu Quick PDF logo

SetPageLayout

Document properties

Description

Sets the initial page layout of the document.

Syntax

Delphi

function TDebenuPDFLibrary1811.SetPageLayout(NewPageLayout: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::SetPageLayout(
  NewPageLayout As Long) As Long

DLL

int DPLSetPageLayout(int InstanceID, int NewPageLayout)

Parameters

NewPageLayout 0 = Single page
1 = One column
2 = Two columns, odd-numbered pages on left
3 = Two columns, odd-numbered pages on right
4 = Two pages, odd-numbered pages on left
5 = Two pages, odd-numbered pages on right
6 = No preference (setting removed from document)

Return values

0 The page layout could not be set
1 The page layout was set successfully

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport