Posted by a ceTe Software moderator
Hello,
The leading set in the Line tag will be applicable to that particular Paragragh only. In order to set the leading to the entire text of the FormattedTextArea you will have to use the FormattedTextAreaStyle object. Following is the sample code for this.
Set MyFormattedTextArea = MyPage.AddFormattedTextArea( MyFormattedText, 0, 0, 256, 400, DPDF_FontFamily_Helvetica, 12, False )
MyFormattedTextArea.Style.Line.Leading = 12
MyFormattedTextArea.Style.Line.LeadingType = DPDF_LineLeadingType_Exactly
And following is the syntaxt to use the Line tag.
<Line Leading=14 LeadingType=exactly>
Thanks,
ceTe Software Support Team.