How can I fit an image to a rectangle in visio?

0

I'd like to make a rectangle in visio that behaves as though it has background-size: cover applied. This means that the image is used as a texture, and resized to cover the entire rectangle, while preserving the aspect ratio of the image.

Here's an example of how things should look.

Eric

Posted 2015-05-10T16:22:32.573

Reputation: 385

Your example does not preserve the aspect ratio, it just centers and crops the original image to fit the smallest dimension. Are you saying that is your goal or that is the problem? – fixer1234 – 2015-05-11T16:15:58.393

Maybe my definition of aspect ratio is wrong - what I meant is "scaled isotropically". – Eric – 2015-05-11T21:33:55.703

Answers

1

You need to look at custom fill patterns, try this article for a start:

How to create a custom fill pattern by using a bitmap image in Visio

Paul Herber

Posted 2015-05-10T16:22:32.573

Reputation: 1 607

Worked this out myself in the end, but thanks anyway! (needs the developer ribbon in visio 2013) – Eric – 2015-05-11T21:35:04.337