TextArea Leading

TextArea Leading

Forum member · Mar 21, 2007
Hi, we are using DynamicPDF Generator 2.6. I have Problems to set the Leading for a TextArea. This ist the example code: DPDF_Gen.Page PageObject = doc.AddPage(); PageObject.AddTextArea(myLongText, 0, 10, 500, 200, DPDF_Align.DPDF_Align_Left, DPDF_Font.DPDF_Font_Helvetica, 10, "000000"); Can anyone please give me a hint. Thanks Hayno

Re: TextArea Leading

Support · Mar 21, 2007
Hello Heyno, You can set the leading for the textarea using the Leading property of the TextArea page element. Following is the sample code. Set objTextArea = objPage.AddTextArea ("MyLongText", 0, 10, 500, 200, DPDF_Align.DPDF_Align_Left, DPDF_Font.DPDF_Font_Helvetica, 10, "000000") objTextArea.Leading = 20 Thanks, ceTe Software Support Team.

Re: TextArea Leading

Forum member · Mar 22, 2007
@ ceTe Software Support Team, thanks for your help. That code works fíne. ;-) Hayno