Click or drag to resize
SignDocRenderParametersfitRect Method
Set the width and height for automatic computation of the zoom factor to make the rendered image fit the specified width and height. This function overrides the zoom factor set by fitWidth(), fitHeight(), and setZoom(). Throws SignDocInvalidArgumentException if the width or the height is invalid.

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntax
C#
public void fitRect(
	int width,
	int height
)

Parameters

width
Type: SystemInt32
The desired width of the rendered image.
height
Type: SystemInt32
The desired height of the rendered image.

Return Value

Type: 
true if successful, false if the specified width or height is invalid.
See Also