Table of Contents

Method LoadFromDataBuffer

Namespace
VectorDraw.Professional.vdObjects
Assembly
VectorDraw.Professional.dll

LoadFromDataBuffer(ref byte[], int, int, string)

Load the drawing from the passed bytes array data

public bool LoadFromDataBuffer(ref byte[] bytes, int offset, int count, string fileTypeExtension)

Parameters

bytes byte[]

An array of bytes contains the contents of a drawing file

offset int

The offset of the first byte to read from buffer which is the start of the file buffer.

count int

The number of bytes to read from buffer which is the end of the file buffer.

fileTypeExtension string

The type of file that the data is created.

It can be one of the follwoing strings ".vdml",".vdcl",".vds",".vdf",".dxf",".dwg",".dgn",".pdf"

Returns

bool