Table of Contents

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

document vdDocument

The document object that will be loaded from the passed stream.

stream Stream

A stream object to loaded

fileTypeExtension string

Can 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.