THotPDF.CurrentParagraph Property

 

THotPDF.CurrentParagraph

THotPDF

 

Øverst  Forrige  Neste

Gives access to the current document paragraph.

 

Delphi syntax:

property CurrentParagraph: thpdf_para;

 

C++ syntax:

__property thpdf_para* CurrentParagraph;

 

Beskrivelse

Bruk CurrentParagraph-egenskapen til å få tilgang til avsnittsmetoder og -egenskaper

 

Kodeeksempel

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;