|
PEsavetofileBOOL PEsavetofile (hObject, lpszFilename)
This function stores the current object into a binary file named by lpszFilename. You can later restore the object with PEloadfromfile. 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.SaveObjectToFile
See Also: PEloadfromfile, PEFILEHDR, PEload, PEloadpartial, PEstore, PEstorepartial
Chapter 5 has a section on Serialization which provides more information on saving objects to disk. |
©2025 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |