THotPDF.CurrentParagraph Property

 

THotPDF.CurrentParagraph

THotPDF

 

Đầu trang  Trước  Tiếp

Gives access to the current document paragraph.

 

Delphi syntax:

property CurrentParagraph: thpdf_para;

 

C++ syntax:

__property thpdf_para* CurrentParagraph;

 

Mô tả

Dùng thuộc tính CurrentParagraph để truy cập các phương thức và thuộc tính của đoạn văn

 

Ví dụ mã

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;