Re: select shapes based on master variants
- From: "Senaj Lelic [DE MVP Visio]" <senaj@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 29 Mar 2008 12:59:11 +0100
HI,
every master is an element on its own so there is no connection between them once you have made these different masters at least AFAIK
--
Mit freundlichen Grüßen/ with kind regards
Senaj Lelic
DE MVP Visio
"Scott" <Scott@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag news:3BEE3192-9B0E-49E8-B748-3517F7BE9AEA@xxxxxxxxxxxxxxxx
This code:
ActiveWindow.Page.CreateSelection(visSelTypeByMaster, <sel mode>,
ActiveDocument.Masters("MyMaster"))
selects all shapes on the page that are based on a master called MyMaster.
However, it doesn't select those that are based on derivatives of this
master, e.g., MyMaster.3 or MyMaster.11.
Is there a way to select all shapes based on MyMaster and MyMaster.n when I
don't know all possible values of n? I know I could iterate through the
shapes on the page but it seems to me that the point of CreateSelection is to
avoid doing that...
Thanks
.
- Follow-Ups:
- Re: select shapes based on master variants
- From: Scott
- Re: select shapes based on master variants
- Prev by Date: Re: Custom shapes for Org Chart wizard
- Next by Date: Re: Export some meta date from VC#2008 in Visio 2007 Document
- Previous by thread: Re: UML Class Diagrams, Off-page References & Valid Inherit Relationsh
- Next by thread: Re: select shapes based on master variants
- Index(es):
Relevant Pages
|