TPDFlibDynamicPageContext

Data types, page layout, pagination

Description

Supplies the isolated drawing library, destination identity and available local canvas to TPDFlibDynamicComponent.Compose

Declaration

type
  TPDFlibDynamicPageContext = record
    LibraryInstance: TPDFlib;
    PageNumber: Integer;
    CompositionIndex: Integer;
    DestinationLeft: Double;
    DestinationTop: Double;
    AvailableWidth: Double;
    AvailableHeight: Double;
  end;

Fields

LibraryInstanceLibrary instance selected on the isolated temporary page
PageNumberOne-based destination page requested by the caller
CompositionIndexZero-based count of fragments committed before this attempt
DestinationLeft, DestinationTopRequested destination origin in top-down document coordinates
AvailableWidth, AvailableHeightLocal Form XObject canvas available to the component

See also

TPDFlibDynamicComponent, TPDFlibDynamicPageResult