CPDFEditShadingAreaCutWithRect Method |
Cuts (crops) the shading object with the specified rectangle.
Namespace:
ComPDFKit.PDFPage.Edit
Assembly:
ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 3.0.0+4b8ae91508c7f16ebf511129b42dfd307f45e350
Syntaxpublic bool CutWithRect(
CRect rect,
bool addUndo = true
)
Parameters
- rect
- Type: ComPDFKit.ImportCRect
The rectangle to cut with. - addUndo (Optional)
- Type: SystemBoolean
Whether to add to undo stack.
Return Value
Type:
BooleanReturns true on success, false on failure.
See Also