Pregunta

Quiero crear bloques de texto curvados usando XAML como:

ingrese la descripción de la imagen aquí

Lo estoy haciendo así:

<TextBlock TextWrapping="Wrap" Text="TextBlock" FontSize="30" Height="46"
           Width="182" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left"
           VerticalAlignment="Top" Canvas.ZIndex="-1" Foreground="White"
           Margin="486,125,0,0" UseLayoutRounding="False" d:LayoutRounding="Auto">
    <TextBlock.Projection>
        <PlaneProjection RotationZ="360" />
    </TextBlock.Projection>
    <TextBlock.RenderTransform>
        <CompositeTransform Rotation="-30"/>
    </TextBlock.RenderTransform>
</TextBlock>

pero no hay éxito.
¿Puedes decirme una mejor manera?

¿Fue útil?

Solución

Intenta trabajar en convertir esto a Windows 8:

http://www.codeproject.com/Artículos / 30090 / texto-on-a-ry-in-wpf

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top