 | ContentGeneratorClipWithText Method |
Intersect clip path with text.
Update the current clip path by intersecting with the given text.
Namespace: PdfTools.Toolbox.Pdf.ContentAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.11.0+eb7160cc6b920e36fb1ea2abe5f76809067c0c55
Syntaxpublic void ClipWithText(
Text text
)
Parameters
- text Text
-
the text to intersect with the current clip path
Exceptions| Exception | Condition |
|---|
| InvalidOperationException | if the document associated with the content has already been closed |
| InvalidOperationException | if the page/group associated with the content has already been closed |
| InvalidOperationException | if the content object has already been closed |
| InvalidOperationException | if the object has already been closed |
| ArgumentException | if the document associated with the text object has already been closed |
| ArgumentException | if the text is associated with a different document |
| GenericException | if for some of the requested characters to paint the font's encoding is not defined or no glyph exists in the font |
| ArgumentNullException | if text is . |
See Also