Table of Contents

TTMSFNCPDFGraphicsLibOutputWriter.NotifyBitmap Method

Fires OnNotifyBitmap to request an image resource reference from the document-level image cache.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFGraphicsLibOutputWriter

Syntax

procedure NotifyBitmap(AValue: TTMSFNCBitmapHelperClass; AImageType: TTMSFNCPDFGraphicsLibImageType; AQuality: Single; ABackgroundColor: TTMSFNCGraphicsColor; var ABitmapReference: string);

Parameters

Name Description
AValue Bitmap to embed.
AImageType Encoding format to use when embedding. See TTMSFNCPDFGraphicsLibImageType.
AQuality JPEG quality factor in the range 0.0–1.0; ignored for PNG and original encodings.
ABackgroundColor Background colour applied before encoding transparent images.
ABitmapReference Set by the handler to the PDF image resource name for this bitmap.