Skip to main content
Table of Contents

ITMSFNCCustomPDFRichTextLib.SetUnderline Method

Sets the underline style for the specified text range.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

FMX.TMSFNCPDFRichTextLib.hppPascalC++
procedure SetUnderline(AValue: TTMSFNCPDFRichTextLibUnderlineStyles = [usUnderlineStyleSingle]; AStart: Integer = -1; ALength: Integer = -1);
virtual void __fastcall SetUnderline(TTMSFNCPDFRichTextLibUnderlineStyles AValue = (TTMSFNCPDFRichTextLibUnderlineStyles() << TTMSFNCPDFRichTextLibUnderlineStyle::usUnderlineStyleSingle), int AStart = 0xffffffff, int ALength = 0xffffffff) = 0;

Parameters

Name Description
AValue Underline style set to apply; default is a single underline.
AStart Zero-based start index; -1 uses the selection start.
ALength Number of characters; -1 uses the selection length.