BSTR PDFOUTLINENODE_Title { get; set; } |
This property gets or sets the text to be displayed on the screen for an outline node. You can change any node attribute during run-time. See PDFOUTLINENODE_Action, PDFOUTLINENODE_Charset.
Equivalent in new interface: IPDFDocument4::GetOutlineUnicodeTitle, IPDFDocument4::SetOutlineTitle, IPDFDocument4::SetOutlineUnicodeTitle.
{ 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;
// 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();
// 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();
' 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