Skip to main content
Table of Contents

TTMSFNCPDFLib.GetDocumentPageContent Method

Returns the decoded content stream of a zero-based page of the opened PDF.

API unit family: TMSFNCPDFLib Declaring type: TTMSFNCPDFLib Inherited from: TTMSFNCCustomPDFLib

Syntax

GeneratedPascalC++
function GetDocumentPageContent(PageIndex: Integer): TBytes;
System::DynamicArray<System::Byte> __fastcall GetDocumentPageContent(int PageIndex);

Remarks

Only the content of the page itself is returned; drawing that lives in a form XObject, such as a page-edit overlay, is referenced by it rather than included.

Parameters

Name Description
PageIndex Zero-based index of the page to read.

Returns

Page content with the stream filters of the document already applied.