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

procedure SetParagraphStyle(AValue: TTMSFNCPDFRichTextLibParagraphStyle; AStart: Integer = -1; ALength: Integer = -1);

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.