Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

Unable to change borders on cells

Last post 09-16-2010, 6:11 AM by aspose.notifier. 4 replies.
Sort Posts: Previous Next
  •  09-02-2010, 4:18 PM 256893

    Unable to change borders on cells .NET

    Attachment: Present (inaccessible)

    I'm using the following code on the attached file and no borders are being changed:

    Dim lo As New LoadOptions(LoadFormat.Auto)

    Dim wb As New Workbook("d:\code\NationalParks\Output\1\template.xlsm")

    Response.Clear()

    Response.AddHeader("Content-Type", "application/vnd.ms-excel; charset=windows-1251")

    Response.AddHeader("content-disposition", "attachment; filename=""" & "priority.xlsm" & """")

    Dim ms As New IO.MemoryStream

    Dim ws As Aspose.Cells.Worksheet = wb.Worksheets(5)

    Dim s As Aspose.Cells.Style = ws.Cells("C6").GetStyle

    s.Borders.SetColor(System.Drawing.Color.Aquamarine)

    s.Borders.SetStyle(CellBorderType.Thick)

    ws.Cells("C6").SetStyle(s)

    wb.Save(ms, SaveFormat.Xlsm)

    Response.BinaryWrite(ms.ToArray())

    Response.End()

     

     
  •  09-02-2010, 4:33 PM 256894 in reply to 256893

    Re: Unable to change borders on cells

    This issue seems to go beyond just borders...none of the styles I attempt to set seem to take...background color, etc, etc.
     
  •  09-03-2010, 2:43 AM 256927 in reply to 256894

    Re: Unable to change borders on cells

    Hi Christopher,

    We are able to reproduce the issue. The issue has been logged into our issue Tracking System with ID CELLSNET-19764. We will update you as soon as possible.

    Thanks,


    Sincere Regards,

    Salman Shakeel
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  09-06-2010, 5:00 AM 257176 in reply to 256927

    Re: Unable to change borders on cells

    Attachment: Present (inaccessible)
    Hi,

    Please try the attached version. We have fixed your mentioned issue.

    Thank you.

    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  09-16-2010, 6:11 AM 258945 in reply to 256893

    Re: Unable to change borders on cells

    The issues you have found earlier (filed as 19764) have been fixed in this update.


    This message was posted using Notification2Forum from Downloads module by aspose.notifier.
     
View as RSS news feed in XML