THotPDF.CurrentParagraph Property

 

THotPDF.CurrentParagraph

THotPDF

 

顶部  上一页  下一页

Gives access to the current document paragraph.

 

Delphi 语法:

property CurrentParagraph: thpdf_para;

 

C++ 语法:

__property thpdf_para* CurrentParagraph;

 

说明

使用 CurrentParagraph 属性访问 paragraph 方法和属性

 

代码示例

HPDF.CreateParagraph( 50, 700, 500, 600 );          // Create paragraph with margins
HPDF.CurrentParagraph.Justification := hjJustify;
HPDF.CurrentParagraph.ShowText( 'This is the current paragraph text that will be formatted within the defined boundaries.' );
HPDF.CurrentParagraph.NewLine;