Markup: Clip to bounding rectangle? |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 29 June 2008 at 8:08am |
Consider this sample:
<Run FontSize='12'>ABC</Run><Run FontSize='14'>xxx</Run>
In all cases, 12 points will be sufficient to hold the text. However, the text gets pushed down when a font size of 14 points is encountered.
How do I "trim" the rectangle, and center it vertically?
I tried this in the Markup Sample:
<TextBlock ClipToBound='True'>Test</TextBlock>
But that yields an error:
The property 'ClipToBound' does not exist in XML namespace.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
try ClipToBounds (Error in our readme)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |