Section

SetHeading

Description

Sets the heading of a section.

Syntax

sn:SetHeading(rtHeading)

Parameters

rtHeading
RichText object: the heading. Only the first paragraph of the rich text object will be accepted as the heading. Tables and other non-text items are ignored.

Return Value

none

Remarks

Example
rt = fhNewRichText()
rt:SetText("My Heading")
sn:SetHeading(rt)