StreamDataGetStreams Method (String) |
Namespace: VIZCore3D.NET.Data
public static List<StreamData> GetStreams( string[] fileNames )
// 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); }