L
lanyun2
Unregistered / Unconfirmed
GUEST, unregistred user!
程序中我是这样读的,但读出来的宽度是对的,
高度不对,请大家指点
var
vTable:Variant;
i,j:longInt;
begin
i:=0;
j:=0;
//读回表格某行,列的宽,高。table2.cell(7,1)
VTable:=MyWord.ActiveDocument.Tables.Item(2);
VTable.Cell(7,1).Select;
j:=VTable.cell(7,1).Height;
i:=VTable.Cell(7,1).Width;
showmessage(inttostr(i)+' ,'+inttostr(j));
具体我应该怎样读呢
高度不对,请大家指点
var
vTable:Variant;
i,j:longInt;
begin
i:=0;
j:=0;
//读回表格某行,列的宽,高。table2.cell(7,1)
VTable:=MyWord.ActiveDocument.Tables.Item(2);
VTable.Cell(7,1).Select;
j:=VTable.cell(7,1).Height;
i:=VTable.Cell(7,1).Width;
showmessage(inttostr(i)+' ,'+inttostr(j));
具体我应该怎样读呢