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

procedure AddBitmapFromFile(AValue: String; ALineHeight: Single = -1; ALocation: Integer = -1);

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.