|
PEloadfromfileBOOL PEloadfromfile (hObject, lpszFilename)
This function restores the current object from a binary file named by lpszFilename. You first must have stored the same type of object with PEsavetofile. Care must be taken to make sure that the correct object type (Graph, Scientific Graph, 3D Scientific Graph, Polar Object or Pie Chart Object) is used with PEloadfromfile as was used with PEsavetofile. Generally you will name files in a method which identifies which type of object is stored.
Returns NonZero if the function was successful, otherwise Zero.
Comments .Net developers, see PeFunction.LoadObjectFromFile
See Also: PEload, PEloadpartial, PEstore, PEstorepartial, and PEsavetofile.
Chapter 5 of the manual has a section on serialization which provides examples on how to use this function. |
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |