Rotate Windows.Documents.Table

Posted by Neverrav on Stack Overflow See other posts from Stack Overflow or by Neverrav
Published on 2010-04-27T12:52:50Z Indexed on 2010/04/27 12:53 UTC
Read the original article Hit count: 404

I need to rotate a table clockwise up to 90 degrees. It's one of the blocks of a FlowDocument. Is there a way to apply some kind of rotation to a Table?
The possible solution of creating TextEffect like this:


var table = new Table();   
 ... // fill the table here
var effect = new TextEffect  
                 {
                     Transform = new RotationTransform(90),
                     PositionStart = 0,
                     PositionCount = int.MaxValue
                 };
table.TextEffects = new TextEffectCollection();
table.TextEffects.Add(effect);

doesn't work.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about table