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