Resizing images in an RTF field
I have a form open in edit mode, and I import images into an RTF field like this:
Call Source.Import( fileType,  tempDir & "" & fName )
All images come in as expected -- no problems. Here is the challenge: I need to resize images that are too big in the same way you do with the Property Box. Any ideas?

I wrote a DLL using the C++ API, but it's not working well at all.

    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.

    By submitting your registration information to SearchDomino.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchDomino.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

I believe you can do this by creating an HTML file on disk that has an IMG tag with SRC= the file you want, and HEIGHT and WIDTH= the dimensions you want. Then instead of importing the image, import the HTML file that refers to the image. I haven't tried that, but I believe it should work.

This was first published in February 2005