| SquigglyCreateFromQuadrilaterals Method |
Create a new squiggly underline with defined area
The area to be underlined is defined by the given
markupArea.
The returned object is associated with the
targetDocument but not yet part of any page.
It can be added to a page's list of annotations.
Namespace: PdfTools.Toolbox.Pdf.AnnotationsAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.2.0+708f7116d933787a0712d56133e4c2c9bf21e5e3
Syntax public static Squiggly CreateFromQuadrilaterals(
Document targetDocument,
QuadrilateralList markupArea,
Paint paint
)
Parameters
- targetDocument Document
-
The document in which the links is used
- markupArea QuadrilateralList
-
The area on the page to be underlined.
- paint Paint
-
The paint used for drawing the squiggly underline
Return Value
Squiggly
The newly created object
Exceptions Exception | Condition |
---|
ArgumentException | if the targetDocument has already been closed |
ArgumentException | if the targetDocument is read-only |
ArgumentException | if the markupArea is empty |
ArgumentException | if the paint argument is not associated with targetDocument |
ArgumentException | if the paint argument has a ColorSpace other than a device color space |
ArgumentException | if the paint argument has a non-Transparency with BlendMode other than Normal |
ArgumentNullException | if targetDocument is . |
ArgumentNullException | if markupArea is . |
ArgumentNullException | if paint is . |
See Also