본문으로 건너뛰기

GetStreams

Overloads

NameDescription
GetStreams(string[] fileNames)Get Stream Data Collection
GetStreams(string[] fileNames, string password)Get Stream Data Collection

GetStreams(string[] fileNames)

public static List<StreamData> GetStreams(string[] fileNames)

Get Stream Data Collection

Parameters

NameTypeDescription
fileNamesString[]File List

Returns

TypeDescription
List<StreamData>Stream Data Collection

Examples

// 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);
}

GetStreams(string[] fileNames, string password)

public static List&lt;StreamData&gt; GetStreams(string[] fileNames, string password)

Get Stream Data Collection

Parameters

NameTypeDescription
fileNamesString[]File List
passwordstringPassword

Returns

TypeDescription
List<StreamData>Stream Data Collection