| PolyLineAnnotationCreate Method |
Create a poly-line annotation.
The returned poly-line 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 PolyLineAnnotation 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 poly line.
- stroke Stroke
-
The stroking parameters used for stroking the poly-line.
The stroking paint is used as the annotation's main paint.
Return Value
PolyLineAnnotation
The newly created poly-line annotation.
Exceptions See Also