Click or drag to resize

StreamDataGetStreams Method (String)

Get Stream Data Collection

Namespace:  VIZCore3D.NET.Data
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public static List<StreamData> GetStreams(
	string[] fileNames
)

Parameters

fileNames
Type: SystemString
File List

Return Value

Type: ListStreamData
Stream Data Collection
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
    OpenFileDialog dlg = new OpenFileDialog();
    dlg.Filter = vizcore3d.Model.OpenFilter;
    dlg.Multiselect = true;

    if (dlg.ShowDialog() != DialogResult.OK) return;

    List<VIZCore3D.NET.Data.StreamData> stream = VIZCore3D.NET.Data.StreamData.GetStreams(dlg.FileNames);

    vizcore3d.Model.AddStream(stream);

    string output = "C:\\Temp\\Stream.viz";

    vizcore3d.Model.ExportVIZ(output);
}
See Also