Author Topic: Calculating height of container header.  (Read 150 times)

0 Members and 1 Guest are viewing this topic.

bwharrington

  • Jr. Member
  • **
  • Posts: 32
Calculating height of container header.
« on: September 21, 2020, 04:06:52 PM »
I'm trying to figure out how to calculate the container header. Does this show up anywhere as a property I don't see or can calculated somehow?

Thanks,

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2954
    • Paul Herber's website
Re: Calculating height of container header.
« Reply #1 on: September 21, 2020, 04:34:40 PM »
Container shapes are grouped shapes and they all seem to have two sub-shapes, the second of which is the header area. So you need to look at the height of sub-shape 2.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

Nikolay

  • Hero Member
  • *****
  • Posts: 969
    • UnmanagedVisio
Re: Calculating height of container header.
« Reply #2 on: September 21, 2020, 05:40:00 PM »
Please note that the height depends heavily on the container style. For different styles, header height will vary.
Also if you switch container type (button on the toolbar), the header may easily become a footer....

bwharrington

  • Jr. Member
  • **
  • Posts: 32
Re: Calculating height of container header.
« Reply #3 on: September 22, 2020, 04:20:54 PM »
Thanks Paul.

Thanks Nikolay, I'm fortunate that I don't have to account to different styles. Just the default style.