Drawing frame borders white color

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
ykarapinar
Posts: 22
Joined: Fri May 17, 2013 7:59 am

Drawing frame borders white color

Post by ykarapinar »

Hello
In an existing Excel file, it draw the frame borders white color.

Code: Select all

  XLSReadWriteII51.FileName:='C:\XLSRWII.xlsx';
  XLSReadWriteII51.Read;
  XLSReadWriteII51.CmdFormat.BeginEdit(XLSReadWriteII51[1]);
  XLSReadWriteII51.CmdFormat.Border.Style := cbsThin;
  XLSReadWriteII51.CmdFormat.Border.Preset(cbspOutlineAndInside);
  XLSReadWriteII51.CmdFormat.Apply(1, 1, 10, 10);
  XLSReadWriteII51.Write;
Post Reply