This method can be called at any time to set the contents of a data file from a handle representing the appropriate type of object. For example, you can change the contents of any Image File object by calling the wpSetContentsFromHandle method with the handle of a bitmap.