LoadFromStream

Top  Previous  Next

public Boolean LoadFromStream(FileStream fileStream,String encoding)

 

Description:

 Load from a file stream.

 

Parameter:

 fileStream: File stream

 

Return value:

 true: Load successfully

 false: Load unsuccessfully

 encoding: The coding of character

 

Example:

 private void button1_Click(object sender, System.EventArgs e)

 

         myCAD1.LoadFromStream(myFileStream,"gb2312");

 }

 

See also:

 SaveToStream