Skip to main content
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

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
procedure NotifyBitmap(AValue: TTMSFNCBitmapHelperClass; AImageType: TTMSFNCPDFGraphicsLibImageType; AQuality: Single; ABackgroundColor: TTMSFNCGraphicsColor; var ABitmapReference: string);
void __fastcall NotifyBitmap(TTMSFNCBitmapHelperClass* AValue, TTMSFNCPDFGraphicsLibImageType AImageType, float AQuality, TTMSFNCGraphicsColor ABackgroundColor, System::UnicodeString &ABitmapReference);

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.