Rotate Windows.Documents.Table
- by Neverrav
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.