Method LoadFromStream
- Namespace
- VectorDraw.Professional.Control
- Assembly
- VDrawBaseControl.dll
LoadFromStream(vdDocument, Stream, string)
Loads a vdDocument from a stream.
public static bool LoadFromStream(vdDocument document, Stream stream, string fileTypeExtension)
Parameters
documentvdDocumentThe document object that will be loaded from the passed stream.
streamStreamA stream object to loaded
fileTypeExtensionstringCan be one of the following strings : .vdml , .vdcl, .dxf, .dwg, .vdf or a full path name of a file with its extension.
Returns
- bool
True if the document was succesfully loaded.