| InkAnnotationCreate Method |
Create a ink annotation.
The returned ink 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 InkAnnotation Create(
Document targetDocument,
Path path,
Stroke stroke
)
Parameters
- targetDocument Document
-
The output document with which the returned object is associated.
- path Path
-
The path of the free-hand drawing.
- stroke Stroke
-
The stroking parameters used for stroking the line.
The stroking paint is used as the annotation's main paint.
Return Value
InkAnnotation
The newly created ink annotation.
Exceptions See Also