Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the number of lines and number of characters in the document.
Syntax
HRESULT GetSize(
ULONG* pcNumLines,
ULONG* pcNumChars
);
Parameters
pcNumLines
[out] Number of lines in the document. If this parameter is NULL, the method does not return a value.
pcNumChars
[out] Number of characters in the document. If this parameter is NULL, the method does not return a value.
Return Value
The method returns an HRESULT
. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK |
The method succeeded. |
Remarks
This method returns the number of lines and number of characters in the document.