THotPDF.CurrentParagraph Property

 

THotPDF.CurrentParagraph

THotPDF

 

傳回頂部  上一頁  下一頁

Gives access to the current document paragraph.

 

Delphi 語法:

property CurrentParagraph: thpdf_para;

 

C++ 語法:

__property thpdf_para* CurrentParagraph;

 

說明

使用 CurrentParagraph property 存取 paragraph methods 與 properties

 

Code Example

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;