Aspose::Pdf::Facades::PdfContentEditor::CreateText method

PdfContentEditor::CreateText method

Creates text annotation in PDF document.

void Aspose::Pdf::Facades::PdfContentEditor::CreateText(System::Drawing::Rectangle rect, const System::String &title, const System::String &contents, bool open, const System::String &icon, int32_t page)
ParameterTypeDescription
rectSystem::Drawing::RectangleThe annotation rectangle defining the location of the annotation on the page.
titleconst System::String&The title of the annotation.
contentsconst System::String&The contents of the annotation.
openboolA flag specifying whether the annotation should initially be displayed open.
iconconst System::String&The name of an icon will be used in displaying the annotation. This value can be: “Comment”, “Key”, “Note”, “Help”, “NewParagraph”, “Paragraph”, “Insert”
pageint32_tThe number of original page where the text annotation will be created.

See Also