GetPosterTileInfo

Document manipulation

Description

Retrieves tiling poster layout coordinates and sizing for a specific tile index

Syntax

Delphi

Function TPDFlib.GetPosterTileInfo(PageWidth, PageHeight, TargetWidth, TargetHeight, Margin, Overlap, Scale: Double; TileIndex: Integer; Out Info: TPDFlibPosterTileInfo): Integer;

Parameters

PageWidthThe width of the source page
PageHeightThe height of the source page
TargetWidthThe target media width of the poster paper sheets
TargetHeightThe target media height of the poster paper sheets
MarginThe margin width to leave around the edges of poster sheets
OverlapThe overlap width between adjacent poster sheets
ScaleThe scale factor to apply to page contents
TileIndexThe index of the specific poster tile to query
InfoThe output record containing the calculated poster tile properties

Return values

1 if the tile index is valid and information was retrieved, or 0 otherwise