LoadFromStream Method |
[Top] [Chapter] [Previous] [Next] |
Declaration bool LoadFromStream([In] object Stream, [In] bool Insert, [In] string FormatStr); Description Load data from a stream into this editor.
.NET: The stream converter must be re-created for each load and save operation!
Example: System.IO.Stream str = new System.IO.MemoryStream(); wpdllint1.Memo.SaveToStream( new WPDynamic.Stream2WPStream(str) ,false,"RTF"); wpdllint1.Position = 0; wpdllint2.Memo.LoadFromStream(new WPDynamic.Stream2WPStream(str), true, "AUTO");
Category |