function RenderTile(Left, Top, Width, Height, PageWidth, PageHeight: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []): TBitmap;
| Rotation | TRotation. Clockwise rotation to apply when rendering the tile: ro0, ro90, ro180, or ro270. |
| Options | TRenderOptions. Set of rendering flags controlling annotation visibility, LCD text, etc. |
procedure RenderTile(Bitmap: TBitmap; Left, Top, Width, Height, PageWidth, PageHeight: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []);
| Bitmap | TBitmap. An existing bitmap to render the tile into. |
| Rotation | TRotation. Clockwise rotation to apply when rendering. |
| Options | TRenderOptions. Set of rendering flags. |
Esegue il rendering di una piastrella rettangolare della pagina corrente in un bitmap. Left, Top, Width e Height definiscono l'area della piastrella all'interno di un rendering virtuale a pagina intera di dimensione PageWidth × PageHeight pixel. Ciò consente il rendering ad alta risoluzione di pagine grandi in piastrelle più piccole ed efficienti in termini di memoria.
L'overload con funzione alloca un nuovo TBitmap che il chiamante deve liberare. L'overload con procedura esegue il rendering in un bitmap esistente. Questo metodo è utile per la stampa ad alto DPI o per generare esportazioni di immagini a risoluzioni superiori a quelle dello schermo.
// Render the top-left 512x512 tile of a 2048x2048 full-page render
var Bmp: TBitmap;
begin
Bmp := PdfView.RenderTile(0, 0, 512, 512, 2048, 2048);
try
Image1.Picture.Assign(Bmp);
finally
Bmp.Free;
end;
end;