LoadFromStream

<< Click to Display Table of Contents >>

Navigation:  MyCAD > Methods >

LoadFromStream

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