void LoadFromStream(Stream Src)
Load the component from Src stream.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | Stream |
Result: stored in self (calling object)
Examples
Vector b;
TFileStream AStream;
b.SetIt(false,new double[] {0,0,1,3,2});
AStream = TFileStream.Create(@"C:\test.Vec",fmCreate);
try
{
b.LoadFromStream(AStream); // Read info and header for b
}
finally
{
AStream.Free;
}