How to make following code work? I got error like "The method or operation is not implemented."
Does this mean I can't draw rectangle for excel 2007 format by using XSSFSimpleShape?
Does this mean I can't draw rectangle for excel 2007 format by using XSSFSimpleShape?
XSSFDrawing drawingPatriach = (XSSFDrawing)sheet1.CreateDrawingPatriarch();
XSSFClientAnchor a = new XSSFClientAnchor(0, 0, 0, 0, c, r, (c + 1), r + 1);
XSSFSimpleShape rectangle = drawingPatriach.CreateSimpleShape(a);
// Draw a rectangle.
rectangle.ShapeType = (int)ShapeTypes.Rectangle;
rectangle.SetFillColor(0, 255, 255);