| LineAnnotationCreate Method |
Create a line annotation.
The returned 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 LineAnnotation Create(
Document targetDocument,
Point start,
Point end,
Stroke stroke
)
Parameters
- targetDocument Document
-
The output document with which the returned object is associated.
- start Point
-
The line's start point.
- end Point
-
The line's end point.
- stroke Stroke
-
The stroking parameters used for stroking the line.
The stroking paint is used as the annotation's main paint.
Return Value
LineAnnotation
The newly created line annotation.
Exceptions See Also