Image As rtGraphic
Function ImportFromFile (filepath As String)
Imports an image from file. Can be used both to replace en image in existing resource or when creating a new one. Parameter filepath may contain any file. If extension is different from "jpg" or "jpeg" the file will get imported as GIF. The method can be used to store other file types as image resources exactly like similar hack from UI, though the usability of resulting objects are not guaranteed by Domino -- use it on your own risk.