Solved

Can I change the object in Visio

Posted on 2011-09-07
10
291 Views
Last Modified: 2012-05-12
When I drag and drop a .cfm file on a Visio 2007 page, it creates an icon, can I change that icon and make it bigger. If so, how?
0
Comment
Question by:overcolor
  • 6
  • 4
10 Comments
 
LVL 30

Expert Comment

by:Scott Helmers
ID: 36502791
I just did some experimenting and found a way, but it either requires tinkering with the ShapeSheet or writing a macro to do that for you.

The attached file shows several examples of larger sizes.

Are you familiar with modifying the ShapeSheet by hand? If so, I can provide instructions. If not, or if this is a frequent need and you'd like a macro to automate the change, please let me know.
Change-image-size-for-dropped-fi.vsd
0
 

Author Comment

by:overcolor
ID: 36505575
No I don't know much about ShapeSheet, but the size of the larger one on your file is what Im looking for
0
 
LVL 30

Expert Comment

by:Scott Helmers
ID: 36505659
Which of the larger sizes do you prefer? times 2, 3 or 4?

BTW, as you can probably see in the sample, the "text" is actually part of the image, so when you increase the size of the image, the text size increases as part of it. That's why in the bottom image, at X4 of the original, the text extends beyond the boundary of the shape that contains the image.

One final thought: I used whole multiples of the original. But if you want the size to be 2.5X of the original, or any other multiple, that's easy to do.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:overcolor
ID: 36505791
x4 but, when I drag a file onto a Visio page it puts the file name there, will this still do that?
0
 
LVL 30

Expert Comment

by:Scott Helmers
ID: 36506574
Yes, this is the standard behavior if you drag a file onto a Visio page. Visio creates an image that consists of an icon and the filename.
0
 
LVL 30

Expert Comment

by:Scott Helmers
ID: 36528822
Would you like a macro that allows you to resize the image and name of the file after you drop it?
0
 

Author Comment

by:overcolor
ID: 36530824
Yes please
0
 
LVL 30

Accepted Solution

by:
Scott Helmers earned 500 total points
ID: 36539186
I've attached a new version of the file that contains the macro. On page 2 you'll find three dropped files. The macro will resize all selected shapes.

It's pretty simple-minded at this point without a lot of error checking.

If you want to change the multiplier (I used 4 as you requested), open the code editor (Alt+F11), look for the comment about changing the resize factor and enter a larger or smaller number.
Change-image-size-for-dropped-fi.vsd
0
 

Author Comment

by:overcolor
ID: 36554627
when I drop files on to page 2, I get nothing? Am I doing that right?
0
 
LVL 30

Expert Comment

by:Scott Helmers
ID: 36556706
The macro is not set up to run automatically when you drop a file onto the page. So after you drop a file, make sure the dropped shape is selected and then run the macro.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The ability to add structure to Visio diagrams using containers, lists and callouts is one of my favorite features in Visio 2010. In this article we’ll examine containers. We’ll explore lists (http://www.experts-exchange.com/Microsoft/Applications/M…
Meetings to discuss business process can waste time, and often do .  The meeting's dialog can get confusing when participants have different professional perspectives and backgrounds.  A jointly-developed process picture helps wade through the confu…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question