Windows 8のカーブテキストブロック
-
21-12-2019 - |
質問
xamlのようなxamlを使って曲線のテキストブロックを作成したいです。
私はこのようにしています:
<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>
.
成功しない。
あなたは私に良い方法を教えてもらえますか?
解決
これをWindows 8に変換することを試みてみてください:
所属していません StackOverflow