%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
SelectDocument Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : SelectDocument Method
filename
The filename or URL of the document.
reload
If false the document will be loaded from cache if available. If not available in cache or parameter is true, the document will be loaded from its source.
Opens the given filename. If reload is true the drawing will be reloaded from its source.

Syntax

JScript 
public function SelectDocument( 
   filename : String,
   reload : boolean
);

Parameters

filename
The filename or URL of the document.
reload
If false the document will be loaded from cache if available. If not available in cache or parameter is true, the document will be loaded from its source.

Remarks

The function is running asynchronously, vdAfterOpenDocument is fired when the selected file is loaded Also the vdprogress is fired to display the progress

See Also