Property

Method

Event

 

 

GetCurrentCellWidth

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

Syntax

    HRESULT GetCurrentCellWidth(
    long *pWidth
    );

Parameters

pWidth

[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