Property

Method

Event

 

 

GetDocumentSize

Gets the total size of the current document, including any inserted local files.

Syntax

    HRESULT GetDocumentSize(
    long* pVal
    );

Parameters

pVal

[out, retval] Size of the current document including any inserted local files.

Return Values

0 (always)

Sample Codes

VBScript

    dim object
    Set object = document.editForm
    object = object.wec.GetDocumentSize
    If object > 4096 Then
    MsgBox "The size has exceeded 4kb."
    End If
    ...

See Also

GetDoucumentPath