%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
DettachCanvas Method
See Also  Example
vdWebLibrary Namespace > vdmanager Class : DettachCanvas Method
canvasId
The id of the HTML canvas object to be deassigned.
Deassigns the given canvas and destroys the proper vdrawobject.

Syntax

JScript 
public function DettachCanvas( 
   canvasId : String
);

Parameters

canvasId
The id of the HTML canvas object to be deassigned.

Example

C#Copy Code
function vdrawInitPageLoad() { 
    vdmanager.DettachCanvas('canvas1'); 

See Also