Click or drag to resize
Pdftools logo

ContentGeneratorClipWithPath Method

Intersect clip path with path.

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

Namespace: PdfTools.Toolbox.Pdf.Content
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.4.0+02318d3e3f9645a1305b87026fb971a660079e54
Syntax
C#
public void ClipWithPath(
	Path path,
	InsideRule insideRule
)

Parameters

path  Path
the path to intersect with the current clip path
insideRule  InsideRule
the inside rule of the path argument
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 path is associated with a different document
ArgumentNullExceptionif path is .
See Also