function RenderPageProgressiveWithColorScheme(Bitmap: TBitmap; Left, Top, Width, Height: Integer; const AToken: IPdfCancellationToken; const ColorScheme: TPdfColorScheme; Rotation: TRotation = ro0; Options: TRenderOptions = []; Background: TColor = clWhite): TPdfProgressiveStatus;
| Bitmap | TBitmap. Destination bitmap the caller creates and frees. |
| Left, Top | Integer. Top-left offset within the bitmap where rendering begins, in pixels. |
| Width, Height | Integer. Size of the destination area in pixels. |
| AToken | IPdfCancellationToken. Polled between rendered chunks so a long render can be aborted mid-page. Pass nil to render to completion without pausing. |
| ColorScheme | TPdfColorScheme. Replacement colours: PathFillColor, PathStrokeColor, TextFillColor, TextStrokeColor. |
| Rotation | TRotation. Display rotation applied to the page. |
| Options | TRenderOptions. Rendering flags. |
| Background | TColor. Colour the bitmap is filled with before rendering. |
| Result | TPdfProgressiveStatus. prsDone when the page finished, prsCancelled when the token stopped it and the bitmap holds partial work, prsFailed when PDFium reported a render failure. |
Mantiene el bucle consciente de cancelación de RenderPageProgressive y añade una anulación de color, de modo que un modo de lectura de alto contraste o invertido no tenga que posprocesar los píxeles renderizados
Los cuatro colores se aplican al relleno de ruta, trazo de ruta, relleno de texto y trazo de texto; las imágenes no se recolorean. TPdfColorScheme.Default devuelve un punto de partida neutral que un llamador puede ajustar campo por campo
Un renderizado cancelado deja el trabajo hecho hasta ahora en el mapa de bits en lugar de descartarlo, lo que permite a un visor mostrar una página parcial mientras el usuario sigue desplazándose