



Collapse All
Syntax| HRESULT PDFPAGE_Comment ( BSTR comment ) |
RemarksThis method adds comments to a PDF document.
Equivalent in new interface: IPDFDocument4::AddComment.
Example{ 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.
See Also