THotPDF.CurrentParagraph Property

 

THotPDF.CurrentParagraph

THotPDF

 

Top  Previous  Next

Gives access to the current document paragraph.

 

Delphi syntax:

property CurrentParagraph: thpdf_para;

 

C++ syntax:

__property thpdf_para* CurrentParagraph;

 

Description

Use the CurrentParagraph property to access paragraph methods and 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;