Add scripting to your application with Vbsedit !

IDebugDocumentText::GetSize

 

Returns the number of lines and number of characters in the document.

HRESULT GetSize(
   ULONG*  pcNumLines,
   ULONG*  pcNumChars
);

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.

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.

This method returns the number of lines and number of characters in the document.


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Now!

This package includes VbsEdit 32-bit and 64-bit.




Home  

Copyright © 2001-2024 adersοft