Property

Method

Event

 

 

GetCurrentCellHeight

ÄÉ·µÀÌ À§Ä¡Çϰí ÀÖ´Â ¼¿ÀÇ ³ôÀ̸¦ ³Ñ°ÜÁÝ´Ï´Ù.

Syntax

    HRESULT GetCurrentCellHeight(
    long *pHeight
    );

Parameters

pHeight

[out, retval] ¼¿ÀÇ ³ôÀ̸¦ Çȼ¿ ´ÜÀ§·Î ³Ñ°ÜÁÝ´Ï´Ù.

Return Values

Ç×»ó : 0

Sample Codes

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 : " & width
MsgBox "Cell Height : " & height