Textorientation in header with gradient style

Posted by: stephane.chabeau on 14 March 2018, 7:16 pm EST

    • Post Options:
    • Link

    Posted 14 March 2018, 7:16 pm EST

    Hello

    I did not find a way to configure the text orientation in columheader while keeping the gradient style I defined before

    For example if we do …

    Dim t As New FarPoint.Win.Spread.CellType.TextCellType

    t.TextOrientation = FarPoint.Win.TextOrientation.TextRotateCustom

    t.TextRotationAngle = 45

      fp.ActiveSheet.ColumnHeader.Cells (0, 4) .CellType = t
    

    the orientation of the text is good but then we lose the gradian of the cellulle header

    Is there a way to keep the style of the header cell (Renderer) ```

    
    Thank you
    
    stephane
  • Posted 15 March 2018, 2:22 am EST

    Hello Stephane,

    You can set TextOrientation for the column header renderer. For example, you could create a custom SpreadSkin and set ColumnHeaderDefaultStyle.Renderer.TextOrientation to set the default text orientation, or set an EnhancedColumnHeaderRenderer to SheetView.ColumnHeader.Cells(row, column).Renderer to override the TextOrientation for a particular header.

    Thanks,

    Deepak Sharma

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels