Hi Alexander,
You'll have to change the graphics transform - for example:
public override void OnAfterPaint(NPanel panel, NPanelPaintEventArgs eventArgs)
{
string label = "test";
var yStyle = new NTextStyle(new Font("Arial", 12), Color.Red);
yStyle.Orientation = 90;
GraphicsState state = eventArgs.Graphics.DeviceGraphics.Save();
NPointF location = new NPointF(100, 100);
eventArgs.Graphics.TranslateTransform(location.X, location.Y);
eventArgs.Graphics.RotateTransform(90);
eventArgs.Graphics.PaintText(label, yStyle, new NPointF(0, 0));
eventArgs.Graphics.DeviceGraphics.Restore(state);
}
Best Regards,
Nevron Support Team