TTMSFNCGraphicsPDF.DrawBitmap Method
Draws a bitmap into the specified rectangle in the PDF context.
API unit family: TMSFNCGraphicsPDFEngine
Declaring type: TTMSFNCGraphicsPDF
Inherited from: TTMSFNCGraphicsPDFEngine
Syntax
procedure DrawBitmap(ALeft, ATop, ARight, ABottom: Double; ABitmap: TTMSFNCBitmapHelperClass; AAspectRatio: Boolean = True; AStretch: Boolean = False; ACenter: Boolean = True; ACropping: Boolean = False); override;
Parameters
| Name | Description |
|---|---|
ALeft |
Left edge of the destination rectangle. |
ATop |
Top edge of the destination rectangle. |
ARight |
Right edge of the destination rectangle. |
ABottom |
Bottom edge of the destination rectangle. |
ABitmap |
The bitmap to draw. |
AAspectRatio |
When True, the bitmap aspect ratio is preserved. |
AStretch |
When True, the bitmap is stretched to fill the destination rectangle. |
ACenter |
When True, the bitmap is centered in the destination rectangle. |
ACropping |
When True, the bitmap is cropped to the destination rectangle. |