Debenu Quick PDF logo

DASetPageLayout

Document properties, Direct access functionality

Version history

This function was introduced in Quick PDF Library version 11.11.

Description

Sets the initial page layout of the document using the irect Access Functionality.

Syntax

Delphi

function TDebenuPDFLibrary1811.DASetPageLayout(FileHandle, 
  NewPageLayout: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::DASetPageLayout(FileHandle As Long,
  NewPageLayout As Long) As Long

DLL

int DPLDASetPageLayout(int InstanceID, int FileHandle, int NewPageLayout)

Parameters

FileHandle A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
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