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, System::String title, System::String contents, bool open, System::String icon, int32_t page)
ParameterTypeDescription
rectSystem::Drawing::RectangleThe annotation rectangle defining the location of the annotation on the page.
titleSystem::StringThe title of the annotation.
contentsSystem::StringThe contents of the annotation.
openboolA flag specifying whether the annotation should initially be displayed open.
iconSystem::StringThe 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