Skip to main content
Table of Contents

ITMSFNCCustomPDFRichTextLib.SetParagraphStyle Method

Sets the paragraph style for the specified text range, controlling alignment, indentation, and spacing.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

FMX.TMSFNCPDFRichTextLib.hppPascalC++
procedure SetParagraphStyle(AValue: TTMSFNCPDFRichTextLibParagraphStyle; AStart: Integer = -1; ALength: Integer = -1);
virtual void __fastcall SetParagraphStyle(const TTMSFNCPDFRichTextLibParagraphStyle &AValue, int AStart = 0xffffffff, int ALength = 0xffffffff) = 0;

Parameters

Name Description
AValue Paragraph style record to apply.
AStart Zero-based start index; -1 uses the selection start.
ALength Number of characters; -1 uses the selection length.