Comments Properties

Properties.jpg

            var wb = new XLWorkbook();
            var ws = wb.Worksheets.Add("Properties");

            ws.Cell("A1").Comment.Style.Properties.Positioning = XLDrawingAnchor.Absolute;
            ws.Cell("A2").Comment.Style.Properties.Positioning = XLDrawingAnchor.MoveAndSizeWithCells;
            ws.Cell("A3").Comment.Style.Properties.Positioning = XLDrawingAnchor.MoveWithCells;

            wb.SaveAs("CommentsProperties.xlsx");

Last edited Jan 2, 2012 at 4:03 AM by MDeLeon, version 2