CPDFEditShadingAreaScale Method |
Scales the shading object by the specified factors.
Namespace:
ComPDFKit.PDFPage.Edit
Assembly:
ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 3.0.0+4b8ae91508c7f16ebf511129b42dfd307f45e350
Syntaxpublic bool Scale(
float scaleX,
float scaleY,
bool addUndo = true
)
Parameters
- scaleX
- Type: SystemSingle
The horizontal scale factor. - scaleY
- Type: SystemSingle
The vertical scale factor. - addUndo (Optional)
- Type: SystemBoolean
Whether to add to undo stack.
Return Value
Type:
BooleanReturns true on success, false on failure.
See Also