HRESULT PDFOUTLINES_Clear () |
The method deletes all tree nodes contained in the list managed by PDFOOUTLINES_* commands.
Equivalent in new interface: IPDFDocument4::RemoveOutlines.
{ PDF object is supposed to be created } PDF.BeginDoc; lAction := PDF.CreateGoToPageAction(0, 0); i0 := PDF.PDFOUTLINES_Add(0, '0', lAction, charsetANSI_CHARSET); i1 := PDF.PDFOUTLINES_Add(0, '1', lAction, charsetANSI_CHARSET); { we change our mind, do not create outlines } PDF.PDFOUTLINES_Clear; PDF.EndDoc;
// PDF object is supposed to be created PDF->BeginDoc(); LONG lAction = PDF->CreateGoToPageAction(0, 0); LONG i0 = PDF->PDFOUTLINES_Add(0, "0", lAction, charsetANSI_CHARSET); LONG i1 = PDF->PDFOUTLINES_Add(0, "1", lAction, charsetANSI_CHARSET); // we change our mind, do not create outlines PDF->PDFOUTLINES_Clear(); PDF->EndDoc();
// PDF object is supposed to be created PDF.BeginDoc(); long lAction = PDF.CreateGoToPageAction(0, 0); long i0 = PDF.PDFOUTLINES_Add(0, "0", lAction, TxFontCharset.charsetANSI_CHARSET); long i1 = PDF.PDFOUTLINES_Add(0, "1", lAction, TxFontCharset.charsetANSI_CHARSET); // we change our mind, do not create outlines PDF.PDFOUTLINES_Clear(); PDF.EndDoc();
' PDF object is supposed to be created PDF.BeginDoc lAction = PDF.CreateGoToPageAction(0, 0) i0 = PDF.PDFOUTLINES_Add(0, "0", lAction, 0) i1 = PDF.PDFOUTLINES_Add(0, "1", lAction, 0) ' we change our mind, do not create outlines PDF.PDFOUTLINES_Clear PDF.EndDoc