THotPDF.OutlineRoot Property

 

THotPDF.OutlineRoot

THotPDF

 

Topo  Anterior  Próximo
Placeholder for parapic body

Determines root of outlines.

 

Sintaxe Delphi:

property OutlineRoot: THPDFDocOutlineObject;

 

Sintaxe C++:

__property THPDFDocOutlineObject* OutlineRoot;

 

Descrição

Utilize OutlineRoot para obter o objeto raiz dos outlines

 

Code Example



var

  Chapter1, Section1, Section2: THPDFDocOutlineObject;

begin

  Chapter1 := HPDF.OutlineRoot.AddChild( 'Chapter 1', 1 );    // Add chapter para outline root

  Section1 := Chapter1.AddChild( 'Section 1.1', 1 );          // Add section para chapter

  Section2 := Chapter1.AddChild( 'Section 1.2', 1 );          // Add another section

  Chapter1.Opened := true;                                    // Expand chapter in outline

end;