| TextDocumentCheckTextLimit Method |
(TOM 2 only)
Checks whether the number of characters to be added would exceed the maximum text limit.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public int CheckTextLimit(
int count
)
Public Function CheckTextLimit (
count As Integer
) As Integer
public:
int CheckTextLimit(
int count
)
Parameters
- count
- Type: SystemInt32
The number of characters to be added.
Return Value
Type:
Int32The number of characters that exceed the maximum text limit. This parameter is 0 if the number of characters does not exceed the limit.
Exceptions Exception | Condition |
---|
NotSupportedException |
The underlying COM object does not implement the ITextDocument2 interface.
|
See Also