| StickyNoteCreate Method |
Create a sticky note annotation.
The returned sticky note annotation is not yet part of any page.
It can be added to a page's list of annotations.
Namespace: PdfTools.FourHeights.PdfToolbox.Pdf.AnnotationsAssembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 1.0.0
Syntax public static StickyNote Create(
Document targetDocument,
Point topLeft,
string content,
Paint paint
)
Parameters
- targetDocument Document
-
The output document with which the returned object is associated
- topLeft Point
-
The location of the annotation's upper left corner on the page
- content String
-
The text content
- paint Paint
-
The paint for the sticky note icon.
Return Value
StickyNote
The newly created sticky note annotation
Exceptions See Also