PDFium Component Docs

TPdfXObject class

Unit: PDFium
Elinkaarikääre PDFiumin FPDF_XOBJECT-oliolle, jonka TPdf.CreateXObjectFromPage on luonut

Syntax

constructor Create(AHandle: FPDF_XOBJECT);
property Handle: FPDF_XOBJECT read FHandle;

Members

MemberDescription
CreateWrap an FPDF_XOBJECT handle returned by PDFium
DestroyCloses the wrapped handle before the owning destination document is closed
HandleRaw FPDF_XOBJECT value used by PDFium page-object APIs

Description

TPdfXObject edustaa uudelleenkäytettävää Form XObject -oliota, joka on tuotettu toisen asiakirjan sivulta

Kahva kuuluu sitä luoneelle kohdeasiakirjalle ja se on vapautettava ennen kuin kohdeasiakirja suljetaan

Use TPdf.InsertFormObjectFromXObject to place one copy of the wrapped page onto the current destination page

Example

XObject := DestinationPdf.CreateXObjectFromPage(SourcePdf, 1);
DestinationPdf.InsertFormObjectFromXObject(XObject);

See Also

TPdf.CreateXObjectFromPage, TPdf.InsertFormObjectFromXObject, TPdfMatrix