A TemplateImage is written to persistent storage when the FormDefinition instance it is associated with is written to persistent memory. See FormDefinition Write.
A TemplateImage, stored in persistent storage, is loaded when the FormDefinition it is associated with is loaded from persistent storage. See FormDefinition Read.
Once the TemplateImage is loaded from persistent storage, access the image data through the image property that returns the image format that is most convenient to you: Bitmap, Hbitmap, Hdib, Image.