Table of Contents

TTMSFNCPDFGraphicsLibOutputWriter.OnNotifyBitmap Event

Fired when a bitmap needs to be embedded, allowing the caller to supply a PDF image resource reference from the document-level image cache.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFGraphicsLibOutputWriter

Syntax

OnNotifyBitmap: TTMSFNCPDFGraphicsLibOutputWriterNotifyBitmapEvent;

Parameters

Name Description
Sender The output writer that needs to embed the bitmap.
AValue The bitmap helper class holding the image data to embed.
AImageType The image format to use when embedding.
AQuality JPEG compression quality (0.0–1.0) used when the image type is JPEG.
ABackgroundColor Background color to composite behind transparent areas.
ABitmapReference Set by the handler to the PDF resource name that identifies the embedded image.