smartart constraint with refType RRS feed

  • Question

  • I know that the following constraint means the height size is half of the width size.

    <constr type="w" for="ch" forName="myNodeName" refType="h" fact="0.5" />

    So, what does the following constraint means?

    <constr type="w" for="ch" forName="myNodeName" refType="w" fact="1" />

    <constr type="w" for="ch" forName="myNodeName" refType="w" fact="2" />

    it seems to be useless when comparing the width size with itself.

    • Moved by Luna Zhang - MSFT Wednesday, October 1, 2014 8:06 AM Open XML SDK related
    • Moved by Luna Zhang - MSFT Thursday, October 2, 2014 3:16 AM Office XML format smartart constraint related
    Tuesday, September 30, 2014 10:51 AM


  • Hi,

    After researching, I think refType "h" means height and "w" means width.

    In the example below, the width for transition1 is being defined as one-tenth the width of node1. (From Constraint Class)

    <constr type="w" for="ch" forName="transition1" refType="w" refFor="ch" refForName="node1" op="equ" fact="0.1"/>

    >>it seems to be useless when comparing the width size with itself.<<

    I agree with you.

    So I think in your sample, it need to set refFor and refForName for the reference object when defining the width of transition1 with refType.

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, October 1, 2014 8:05 AM