THotPDF.CurrentParagraph Property
HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THotPDF.CurrentParagraph

THotPDF

 

Top  Previous  Next

Gives access to the current document paragraph.

 

Delphi syntax:

property CurrentParagraph: THPDFPara;

 

C++ syntax:

__property THPDFPara* 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;
Copyright©2007-2025 losLab.com