Debenu Quick PDF logo

SetPageContentFromString

Page properties, Page layout, Page manipulation

Version history

This function was renamed in Quick PDF Library version 8.11.

The function name in earlier versions was SetPageContent.

Description

This function allows the content of the selected PDF page to be set. This is for advanced use only! If incorrect information is put into the page's content stream then the PDF file may not load correctly with Acrobat or any other PDF viewer.

In previous versions of Quick PDF Library this function would only set the content of the selected content stream part.

From version 8.11 this function sets the content of the entire page resulting in a single content stream part. The SetContentStreamFromString function can be used to set the PDF page description commands of the content stream part selected with the SelectContentStream function.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetPageContentFromString(
  const Source: AnsiString): Integer;

ActiveX

This function is not available in the ActiveX edition

DLL

int DPLSetPageContentFromString(int InstanceID, char * Source)

Parameters

Source The new contents of the page

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport