2013-04-15 4 views
0

타원에 90 ° 회전을 추가하고 싶습니다.). a 타원

CompositeTransform ct = new CompositeTransform(); 
ct.Rotation = 90; 

가 어떻게 Ellipse 타원에 CompositeTransform를 추가 할 : 그래서 나는 다음과 같은 코드를 작성?

ellipse.Projection = ct; 

을하지만이 작동하지 않습니다 :

나는 다음 시도했다. 그것을 올바르게 만드는 방법? 오류는 말한다 : Cannot implicitly convert type 'Windows.UI.Xaml.Media.CompositeTransform' to 'Windows.UI.Xaml.Media.Projection'

답변

0

그것이 있어야 ellipse.RenderTransform = ct