PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllGets or sets the text label of the current node.
|
| BSTR PDFOUTLINENODE_Title { get; set; } |
Value
Title string.
Remarks
This property gets or sets the text to be displayed on the screen for this item. You can change any node attribute during run-time. See PDFOUTLINENODE_Action, PDFOUTLINENODE_Charset.
Analogue in new interface: IPDFDocument4::GetOutlineUnicodeTitle, IPDFDocument4::SetOutlineTitle, IPDFDocument4::SetOutlineUnicodeTitle.
Example
How to change outline node's text
Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.BeginDoc;
lAction := PDF.CreateGoToPageAction(0, 0);
ind1 := PDF.PDFOUTLINES_Add(0, 'Outline 1', lAction, charsetANSI_CHARSET);
ind2 := PDF.PDFOUTLINES_Add(0, 'Outline 2', lAction, charsetANSI_CHARSET);
PDF.SetCurrentPDFOutlineNode(ind1);
PDF.PDFOUTLINENODE_Title := '[Outline 1]';
PDF.EndDoc;
C/C++
[copy to clipboard]
// PDF object is supposed to be created PDF->BeginDoc(); LONG lAction = PDF->CreateGoToPageAction(0, 0); LONG ind1 = PDF->PDFOUTLINES_Add(0, "Outline 1", lAction, charsetANSI_CHARSET); LONG ind2 = PDF->PDFOUTLINES_Add(0, "Outline 2", lAction, charsetANSI_CHARSET); PDF->SetCurrentPDFOutlineNode(ind1); PDF->PDFOUTLINENODE_Title = "[Outline 1]"; PDF->EndDoc();
C#
[copy to clipboard]
// PDF object is supposed to be created PDF.BeginDoc(); long lAction = PDF.CreateGoToPageAction(0, 0); long ind1 = PDF.PDFOUTLINES_Add(0, "Outline 1", lAction, TxFontCharset.charsetANSI_CHARSET); long ind2 = PDF.PDFOUTLINES_Add(0, "Outline 2", lAction, TxFontCharset.charsetANSI_CHARSET); PDF.SetCurrentPDFOutlineNode(ind1); PDF.PDFOUTLINENODE_Title = "[Outline 1]"; PDF.EndDoc();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created PDF.BeginDoc lAction = PDF.CreateGoToPageAction(0, 0) ind1 = PDF.PDFOUTLINES_Add(0, "Outline 1", lAction, 0) ind2 = PDF.PDFOUTLINES_Add(0, "Outline 2", lAction, 0) PDF.SetCurrentPDFOutlineNode ind1 PDF.PDFOUTLINENODE_Title = "[Outline 1]" PDF.EndDoc
See Also


