An OleFile enables you to transparently persist embedded or linked OLE objects into files. An
OleFile works with an
OleClient or
OleControl widget to perform persistence operations on their contained OLE objects. Items stored into an
OleFile are identified by a unique name that you provide when the object is saved.
Using instances of OleFile, you also can associate arbitrary data attributes with a stored OLE object. These attributes are referenced for storage and retrieval by using the same name the object was stored under. You can use this feature, for example, to store various attributes of the
OleClient widget containing the OLE object, such as, its position, width, and height.