| EllipseAnnotationCreate Method |
Create an ellipse annotation.
The returned ellipse 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 EllipseAnnotation Create(
Document targetDocument,
Rectangle boundingBox,
Stroke stroke,
Paint fill
)
Parameters
- targetDocument Document
-
The output document with which the returned object is associated.
- boundingBox Rectangle
-
The location on the page.
- stroke Stroke
-
The stroking parameters used for stroking the ellipse.
The stroking paint is used as the annotation's main paint.
If then the ellipse is not stroked.
- fill Paint
-
The paint used for filling the ellipse.
If then the ellipse is not filled.
Return Value
EllipseAnnotation
The newly created ellipse annotation.
Exceptions See Also