Table of Contents

Method SetSize

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

SetSize(int, int)

Sets the size of the selected canvas to the given parameters and updates the rendering context acoording the the selected canvas size.

public void SetSize(int width, int height)

Parameters

width int

Optional.The new width of the canvas.If no parameter is used, the default of the selected canvas element width is used.

height int

Optional.The new height of the canvas.If no parameter is used, the default of the selected canvas element height is used.