objectarx2008 有一个bug,合并后的表格单元不能左上对齐,不知如何改正。 程序如下: AcDbTable *pTbl; pTbl = new AcDbTable(); pTbl->generateLayout(); pTbl->suppressHeaderRow(false); setTableColAndRows(pTbl,6,12); pTbl->setPosition(AcGePoint3d(0,0,0));pTbl->mergeCells(8,11,2,3); pTbl->setAlignment(8,2,AcDb::kTopLeft);//bug所在行,明明设置的是表格左上对齐,可是生成的表格却是左中对齐,即kTopLeft=kTopMid addEntToDwg(acdbHostApplicationServices()->workingDatabase(),pTbl); pTbl->close(); |