rtLib — Notes Rich Text Management Library Documentation of rtLib — Notes Rich Text Management Library Download rtLib — Notes Rich Text Management Library FAQ of rtLib — Notes Rich Text Management Library Purchase rtLib — Notes Rich Text Management Library Feedback about rtLib — Notes Rich Text Management Library
rtdImageResource

ExportToFile

Start searchMail feedback

rtdImageResource


Across
Down
isNew
Image As rtGraphic



ExportToFile
ImportFromFile
New

version 1.5

Function ExportToFile (filepath As String)

Exports contained image to file.

Parameter Filepath - if it ends in 3 letter extension is used as is, else gets appended "gif" or "jpg" depending on contained image type.

Thus assuming we have used the resource in a tricky way to import pdf file instead of an image - filepath = "c:\temp\football.pdf" will export the content to file "football.pdf" while filepath = "c:\temp\football" will export to file "c:\temp\football.gif" as GIF is used internally for storage of specifically unrecognized content.


Export images Convert images to/from resources