Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Data Visualization with Microsoft Visio Professional 2016

You're reading from   Mastering Data Visualization with Microsoft Visio Professional 2016 Master the art of presenting information visually using Microsoft Visio Professional 2016 and Visio Pro for Office365

Arrow left icon
Product type Paperback
Published in May 2016
Publisher Packt
ISBN-13 9781785882661
Length 334 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
John Marshall John Marshall
Author Profile Icon John Marshall
John Marshall
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Data within Visio Essentials FREE CHAPTER 2. Understanding How Data Is Stored within Visio 3. Linking Data to Shapes 4. Using the Built-In Data Graphics 5. Using the Pivot Diagram Add-On 6. Creating Custom Master Shapes 7. Creating Custom Data Graphics 8. Validating and Extracting Information 9. Automating Structured Diagrams 10. Sharing Data Diagrams 11. Choosing a Deployment Methodology Index

Adding Callouts to shapes


There is a built-in stencil called Callouts in the Visio Extras category, but the Callouts introduced as part of Structured Diagram API are something different. These are a special type of Shape that have some programmatic control. Any shape can have many Callouts associated with it. The names of Callout Masters in the built-in stencil can be read by moving the mouse over them in the Insert | Diagram Parts | Callout drop-down gallery, as in the following screenshot:

The following code, AddCallouts(), gets a reference to the Thought Bubble callout from the built-in stencil. It then loops through all the shapes in the active page that are linked to Personnel DataRecordset. It drops a new shape instance of the Callout Master and associates it with the Person shape, and inserts the name of Person Shape as text.

The resultant diagram is shown in the following screenshot:

Callouts can be used for comments or notes, or even as additional placeholders for information held...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime