Click or drag to resize

ModelManagerOpenStream Method (String, Byte)

Open Stream

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public bool OpenStream(
	string name,
	byte[] buffer
)

Parameters

name
Type: SystemString
Model Name
buffer
Type: SystemByte
Model Stream Data

Return Value

Type: Boolean
True : Sucess / False : Fail
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
    string model = "TOYCAR";
    byte[] buffer = System.IO.File.ReadAllBytes("C:\\MODEL\\CAD.viz");

    vizcore3d.Model.OpenStream(
        model
        , buffer
        );
}
See Also