THotPDF.CurrentParagraph Property

 

THotPDF.CurrentParagraph

THotPDF

 

Topo  Anterior  Próxima

Dá acesso ao parágrafo atual do documento.

 

Sintaxe Delphi:

property CurrentParagraph: thpdf_para;

 

Sintaxe C++:

__property thpdf_para* CurrentParagraph;

 

Descrição

Use a propriedade CurrentParagraph para acessar métodos e propriedades do parágrafo.

 

Exemplo de código

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;