Param

Method

Event

 

 

GetCurrentCellWidth

케럿이 위치하고 있는 셀의 너비를 넘겨줍니다.

 

Syntax

    HRESULT GetCurrentCellWidth(
    long *pWidth
    );

 

Parameters

pWidth

[out, retval] 셀의 너비를 픽셀 단위로 넘겨줍니다.

 

Return Values

항상 : 0

 

Sample Codes

VBScript

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

 

JScript

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