photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: sinus on March 21, 2017, 11:44:04 AM

Title: Rotating in XAML
Post by: sinus on March 21, 2017, 11:44:04 AM
Hi Mario

This question is only to be sure, at least you have mentioned in your help, that not all in XAML is integrated in IMatch.

Rotating text and graphics is not possible now, is this correct?

I have tried for example this
<!-- Rotate the text 90 degrees using a RotateTransform. -->
      <TextBlock FontFamily="Arial Black" FontSize="64" Foreground="Moccasin" Margin ="80, 10, 0, 0">
        Text Transforms
        <TextBlock.RenderTransform>
          <RotateTransform Angle="90" />
        </TextBlock.RenderTransform>
      </TextBlock>


from https://msdn.microsoft.com/de-de/library/ms742305(v=vs.110).aspx
but it does not work.

I wanted only knowing it, finally we have always other possibilites to get, what we want.  :D
Title: Re: Rotating in XAML
Post by: Mario on March 21, 2017, 12:59:28 PM
You want to rotate XAML text where?
The XAML implementation in the 3rd party toolkit I use does not handle all XAML features.

Note: D&P has an option to rotate text, if this is what you want to do. I have no idea where else you would want to rotate text...
Title: Re: Rotating in XAML
Post by: sinus on March 21, 2017, 01:48:51 PM
Quote from: Mario on March 21, 2017, 12:59:28 PM
You want to rotate XAML text where?
The XAML implementation in the 3rd party toolkit I use does not handle all XAML features.

Note: D&P has an option to rotate text, if this is what you want to do. I have no idea where else you would want to rotate text...

Thanks, as far as I could see, I could rotate text in D&P only 90 degree, but I am looking for 30 or 40 degree.
(um einen Gutscheins so ein wenig schräg einzusetzen).

But maybe I had not good enough looked.

I will look again.
Title: Re: Rotating in XAML
Post by: Mario on March 21, 2017, 01:58:21 PM
Rotation is only available in 90° steps, sorry. Everything else would have been too complicated to implement.

If you need to add a voucher, maybe prepare it externally and then load it as an image into a text container as a fill image or into an image container.
Title: Re: Rotating in XAML
Post by: sinus on March 21, 2017, 04:24:16 PM
Quote from: Mario on March 21, 2017, 01:58:21 PM
Rotation is only available in 90° steps, sorry. Everything else would have been too complicated to implement.

If you need to add a voucher, maybe prepare it externally and then load it as an image into a text container as a fill image or into an image container.

Thanks, Mario, I will do that, like you wrote.
Finally it is not a big thing. I wanted only to be sure. Thank you for your answer.