Introduction
VectorDraw Web Library
What is it?
A vector graphics compoment that can run on any device that supports the canvas object of the HTML 5 standard.
It can be executed in every major web browser and every platform that supports the use of canvas and Javascript.
This includes a great number of Computers, Tablets, Smart phones, Laptops etc. VectorDraw web library is written exclusively in Javascript and is a client side component.
What can it do?
VectorDraw web compoment is a revolutionary new project, its features and capabilities are being increased in a rapid frequency.
This means that new functions and possibilities are planned to be added soon.
To this point using the VectorDraw web libary you can demonstrate drawings in 2D and 3D, execute view operations like
Panning and Zooming, get specific entities from the drawing and insert new entities to it.
Every entity supported by the .Net VectorDraw components can be displayed without problems,
that means that all supported drawings from our .Net components can be exported to the new web component.
You canuse this library to display drawings created by our .Net components, but also to create new drawings from scratch.
You can create an .Net service reference the VDF Library that will import/export a .vds drawing and manage it with VectorDraw javascript library which is also imports/exports .vds files.
See Online File Converter An html page with VectorDraw javascript web library which calls VDF .NET service, convert them to a various drawing formats ,and display them to the html canvas element.
and also our Convertion Server Example in the solution folder WEB/vdWebApplication1

How can I use it?
In order to open a drawing there are only three things needed. First the library's engine script.
This script contains all the needed code in order for the drawing to be displayed in the screen.
This file is the heart of the library and should not be meddled with.
To ensure that it will work properly and that it will offer the level of performance it is designed to, this script file is offered obfuscated.
All the appropriate usability it can offer is described in the help file, as well as in the sample projects we have created.
Also keep in mind that an HTML canvas object where all the visible parts of the drawing will be displayed.
A specially exported and formatted drawing (.vds) that contains all the document's data as well as its different entities and their properties is used.
To export the said document, you simply need to call the vdDocument.ExportScrip() method or use the SaveAs command of vdfCAD.
The exported file will have a .vds suffix.
Developers with prior knowledge of Javascript will have no problem catching up to the component's logic.
However, developers with small experience in web programming will also find it extremely easy to work with this library, since it requires no more that a few basic HTML and Javascript commands in order to effectively operate.
See Getting Started page for more details about how to use the library and how to get started with it.
Additional help can be found:
- In the samples provided with the setup file and/or from our wbsite.
- By contacting support <.at.> vdraw.com for information about using the component.