Picture on a form

S

Sammy

Hello,

I'm using Word 03. I need to use a picture of formatted text on a form and
was wondering what the best format would be. Currently, I'm taking a screen
shot of the formatted text, cropping the picture in Windows Paint,
copying/pasting into PowerPoint so I can right-click and Save as Picture.
From there I chose Bitmap as the format. I then create a picture object on
my form and then navigate to my saved file. It comes in very LARGE. Is
there a better way to approach this and what is the best type of graphic file
to put on a form?

Thanks for any advice.
 
J

Jay Freedman

Hello,

I'm using Word 03. I need to use a picture of formatted text on a form and
was wondering what the best format would be. Currently, I'm taking a screen
shot of the formatted text, cropping the picture in Windows Paint,
copying/pasting into PowerPoint so I can right-click and Save as Picture.
From there I chose Bitmap as the format. I then create a picture object on
my form and then navigate to my saved file. It comes in very LARGE. Is
there a better way to approach this and what is the best type of graphic file
to put on a form?

Thanks for any advice.

Once you have the picture cropped and sized, there's no reason to move it to
PowerPoint. Windows Paint can save in almost all the same formats. Instead of
bitmap, choose PNG format as the file type; it gives the best combination of
fidelity and file size.
 
S

Sammy

Hi Jay,

Thanks for your help. Unfortunately I get an "Invalid Picture" message when
I try to select this type of file in the VBE on my form. After using File,
Save As in Paint and selecting PNG format, I then go back to the VBE and use
the toolbox to select the Image tool to put the image on my form, then use
the Picture Property in the Property panel and browse to the new PNG file (it
doesn't consider it a graphic, you have to choose All Files to locate it).
What am I doing wrong? Thanks again.
 
J

Jay Freedman

Hi Sammy,

I was under the mistaken impression that the "form" you mentioned in your
first post was a document with form fields, and that you wanted to insert a
picture into its text area. It's now clear that you actually have a UserForm
with an Image control, and that does limit the file types. As you can see in
the dialog for the Picture property, it can accept BMP, GIF, JPG, and WMF
files. Any of these will do, although I think I'd recommend JPG first.

As I reread your original post, I also suspect that I misinterpreted what
you meant by "It comes in very LARGE". I suspect your problem is not the
file size but the visual size of the letters. To fix that, change the
PictureSizeMode value from "0 - fmPictureSizeModeClip" to "3 -
fmPictureSizeModeZoom". That will make the control shrink the picture so it
all fits inside the box you've drawn (and resize it if you drag the box
smaller or larger). The other available value, "1 -
fmPictureSizeModeStretch", forces the picture to fit the box in all
directions but ignores the original aspect ratio (that is, the letters can
become tall and thin, or short and fat, depending on how you draw the box).
 
S

Sammy

I should have explained things better. This is exactly what I needed.
Thanks so much for your help, I've been struggling for months with this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top