Property

Method

Event

 

 

GetDocumentSize

ÇöÀç ¹®¼­¿Í ÇöÀç ¹®¼­¿¡ Æ÷ÇÔµÈ ·ÎÄÃ(Local) ÆÄÀÏÀÇ Å©±â¸¦ ¸ðµÎ ÇÕÇÑ °ªÀ» ±¸ÇÕ´Ï´Ù.

Syntax

    HRESULT GetDocumentSize(
    long* pVal
    );

Parameters

pVal

[out, retval] ÇöÀç ¹®¼­ÀÇ Å©±â(Æ÷ÇÔµÈ ·ÎÄà ÆÄÀÏÀÇ Å©±âµµ Æ÷ÇÔ)¸¦ ¾ò½À´Ï´Ù.

Return Values

Ç×»ó : 0

Sample Codes

VBScript

    dim object
    Set object = document.editForm
    object = object.wec.GetDocumentSize
    If object > 4096 Then
    MsgBox "4kb ¿ë·®À» ÃʰúÇÏ¿´½À´Ï´Ù."
    End If
    ...

See Also

GetDoucumentPath