public EscherDgRecord createDgRecord() {EscherDgRecord dg = new EscherDgRecord();dg.setRecordId( EscherDgRecord.RECORD_ID );short dgId = findNewDrawingGroupId();dg.setOptions( (short) ( dgId << 4 ) );dg.setNumShapes( 0 );dg.setLastMSOSPID( -1 );drawingGroups.add(dg);dgg.addCluster( dgId, 0 );dgg.setDrawingsSaved( dgg.getDrawingsSaved() + 1 );return dg;}

public virtual EscherDgRecord CreateDgRecord(){EscherDgRecord dg = new EscherDgRecord();dg.RecordId = EscherDgRecord.RECORD_ID;short dgId = FindNewDrawingGroupId();dg.Options=(short)(dgId << 4);dg.NumShapes=0;dg.LastMSOSPID=(-1);drawingGroups.Add(dg);dgg.AddCluster(dgId, 0);dgg.DrawingsSaved=dgg.DrawingsSaved + 1;return dg;}
