Debenu Quick PDF logo

AddPagePieceInfo

Page properties

Version history

This function was introduced in Quick PDF Library version 17.13.

Description

Adds a page-piece dictionary to the selected page. The returned object number can be used with the SetObjectFromString or SetObjectAsStreamFromString functions to set the private data of the page-piece dictionary.

Syntax

Delphi

function TDebenuPDFLibrary1811.AddPagePieceInfo(Key, ModDate: WideString; 
  Options: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::AddPagePieceInfo(Key As String,
  ModDate As String, Options As Long) As Long

DLL

int DPLAddPagePieceInfo(int InstanceID, wchar_t * Key, wchar_t * ModDate,
  int Options)

Parameters

Key Any name to store the data under. If this name already exists it will not be overwritten.
ModDate The last modified date of the page-piece data in PDF format, eg. "D:20190704123456-05'00'". An empty string will use the current date and time.
Options Reserved for future use, should be set to 0.

Return values

0 The page-piece dictionary could not be added to the page.
Non-zero An object number that can be used with the SetObjectFromString or SetObjectAsStreamFromString functions to set the content of the page-piece dictionary's private data.

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport