プロパティ

メソッド

イベント

 

 

GetCurrentCellHeight

キャレットが位置したセルの高さをリターンします。

構文

    HRESULT GetCurrentCellHeight(
    long *pHeight
    );

パラメータ

pHeight

[out, retval] セルの高さをピクセル単位にリターンします。

リターン値

'0' (常時)

サンプル コード

JScript

var wec;
var width, height;
wec = document.Wec;
width = wec.GetCurrentCellWidth();
height = wec.GetCurrentCellHeight();
alert("Cell Width : " + width);
alert("Cell Height : " + height);

VBScript

Dim width, height
Dim fRef
fRef = document.form
width = fRef.Wec.GetCurrentCellWidth
height = fRef.Wec.GetCurrentCellHeight
MsgBox "Cell Width : " & widht
MsgBox "Cell Height : " & height

参照

GetCurrentCelSize, GetCurrentCellWidth, SetCurrentCellSize