Exemplo n.º 1
0
        public void SetUp()
        {

            HSSFWorkbook workbook = new HSSFWorkbook();
            ISheet sheet = workbook.CreateSheet("Test");
            escherGroup = sheet.CreateDrawingPatriarch().CreateGroup(new HSSFClientAnchor(0, 0, 1023, 255, (short)0, 0, (short)0, 0));
            escherGroup = new HSSFShapeGroup(null, new HSSFChildAnchor());
            EscherGraphics g = new EscherGraphics(this.escherGroup, workbook, Color.black, 1.0f);
            graphics = new EscherGraphics2d(g);

        }
Exemplo n.º 2
0
 public Graphics Create()
 {
     EscherGraphics2d g2d = new EscherGraphics2d(escherGraphics);
     return g2d;
 }