Old spread cell margin

Posted by: spif2001 on 8 September 2017, 2:18 pm EST

  • Posted 8 September 2017, 2:18 pm EST

    Hi

     I have an old spread v.2.5.2015.2005.

     I wish to add some margin on all numeric columns which are right positioned.

     I can see on the new docs, that newer versions of the spread has a margin property on cells and textindent, but my old spread doesn't.

     The funny thing is, that I can see the spread designer puts some margin in cells, but I can't seem to figure out how to do it.

     Anyone knows?

  • Replied 8 September 2017, 2:18 pm EST

    Hello,


    There seems to be no way to set margins using TextIndent in cells in older version. However, you can set the HorizontalAlignment of the cells to center, left, right or general accordingly.



    fpSpread1.Sheets[0].Cells[1, 1].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;


    Thanks.

Need extra support?

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

Learn More

Forum Channels