Skip to main content
Table of Contents

ITMSFNCCustomPDFRichTextLib.AddBitmapFromFile Method

Inserts an image loaded from a file at the specified position in the rich text.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

FMX.TMSFNCPDFRichTextLib.hppPascalC++
procedure AddBitmapFromFile(AValue: String; ALineHeight: Single = -1; ALocation: Integer = -1);
virtual void __fastcall AddBitmapFromFile(System::UnicodeString AValue, float ALineHeight = -1.000000E+00f, int ALocation = 0xffffffff) = 0;

Parameters

Name Description
AValue File path of the image to insert.
ALineHeight Line height reserved for the image; -1 uses the image height.
ALocation Character position at which to insert the image; -1 appends at the end.