Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2015, 11:37 AM
dherr dherr is offline How to create a image? Windows 8 How to create a image? Office 2007
Advanced Beginner
How to create a image?
 
Join Date: Nov 2014
Location: Austria
Posts: 45
dherr is on a distinguished road
Default 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
Reply With Quote
  #2  
Old 02-27-2015, 07:55 PM
Guessed's Avatar
Guessed Guessed is offline How to create a image? Windows 7 32bit How to create a image? Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,969
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

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
Reply With Quote
  #3  
Old 02-28-2015, 01:43 AM
dherr dherr is offline How to create a image? Windows 8 How to create a image? Office 2007
Advanced Beginner
How to create a image?
 
Join Date: Nov 2014
Location: Austria
Posts: 45
dherr is on a distinguished road
Default

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
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a image? 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
How to create a image? 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

Other Forums: Access Forums

All times are GMT -7. The time now is 05:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft