Click or drag to resize

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
Syntax
C#
public 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: Boolean
Returns true on success, false on failure.
See Also