HRESULT PDFPAGE_Comment ( BSTR comment ) |
This method adds comments to a PDF document.
Equivalent in new interface: IPDFDocument4::AddComment.
{ PDF object is supposed to be created } PDF.BeginDoc; { some operators here, maybe PDF.NewPage or else } PDF.PDFPAGE_Comment('Here is my comment.'); PDF.EndDoc; { now PDF document's body will contain line: } { % Here is my comment. }
// PDF object is supposed to be created PDF->BeginDoc(); // some operators here, maybe PDF.NewPage or else PDF->PDFPAGE_Comment("Here is my comment."); PDF->EndDoc(); // now PDF document's body will contain line: // % Here is my comment.
// PDF object is supposed to be created PDF.BeginDoc(); // some operators here, maybe PDF.NewPage or else PDF.PDFPAGE_Comment("Here is my comment."); PDF.EndDoc(); // now PDF document's body will contain line: // % Here is my comment.
' PDF object is supposed to be created PDF.BeginDoc ' some operators here, maybe PDF.NewPage or else PDF.PDFPAGE_Comment "Here is my comment." PDF.EndDoc ' now PDF document's body will contain line: ' % Here is my comment.