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.
Retrieves the size of the text at this position in the document.
Syntax
Parameters
pcNumLines
[out] Returns the number of lines of text.
pcNumChars
[out] Returns the number of characters of text.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
[C++ only] If a particular value is not desired, pass a NULL for the parameter.
[C# only] Both parameters must be specified.