Click or drag to resize
Pdftools logo

ContentGeneratorClipWithText Method

Intersect clip path with text.

Update the current clip path by intersecting with the given text.

Namespace: PdfTools.FourHeights.PdfToolbox.Pdf.Content
Assembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 4.4.1+cd45f416896d630bcd3719f4b2cba7920f2790da
Syntax
C#
public void ClipWithText(
	Text text
)

Parameters

text  Text
the text to intersect with the current clip path
Exceptions
ExceptionCondition
InvalidOperationExceptionif the document associated with the content has already been closed
InvalidOperationExceptionif the page/group associated with the content has already been closed
InvalidOperationExceptionif the content object has already been closed
InvalidOperationExceptionif the object has already been closed
ArgumentExceptionif the document associated with the text object has already been closed
ArgumentExceptionif the text is associated with a different document
GenericExceptionif for some of the requested characters to paint the font's encoding is not defined or no glyph exists in the font
ArgumentNullExceptionif text is .
See Also