#1
|
|||
|
|||
How to create a image?
Hi,
I tried to create an image programmatically: Dim Pic As Image Then I tried: Set Pic = New Image Pic.Height=... Pic.Width=... But it is not possible to set Height and Width although in the object catalogue you can see these properties. What can I do? Regards Dietrich |
#2
|
||||
|
||||
I have never tried to create an empty Image before.
I think you need to place a real image in that location before you can do anything with it. Even if the image is a pixel shim type placeholder it would at least allow you to size it.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
You are right.
But how can I create a 'dummy' image of the size 16x16 and one color only for instance, programmatically? With VBA (with VB.Net there is no problem). Dietrich |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create an image templete | samsanders | Word | 1 | 01-09-2015 04:42 PM |
Losing image resolution when inserting image into MS word (2011: Mac) | Mario.N | Drawing and Graphics | 0 | 11-23-2014 02:38 AM |
Adding Image into a excel cell and adding a hyperlink to the image | saravananiyyanar | Excel | 3 | 05-04-2011 08:31 AM |
Background image vs. insert image | lilaria | PowerPoint | 0 | 04-18-2011 08:45 AM |
How do I create an "Insert image button" | oakstream | Word | 2 | 07-07-2009 03:46 AM |