minus Method

Summary

Returns the result of subtracting a number value from the current edit position value. The current edit position value remains unaltered.

Syntax

TypeScript
    minus(n: number | EditPosition): EditPosition; 

Parameters

n

Number used in determining the new position.

Return Value

The resulting number value when subtracting from the current position value.

Remarks

The calculation is the result of this formula: minus = position - n.

Requirements

Target Platforms

See Also

EditPosition Object

EditPosition Members

Leadtools.Document.Editor Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Editor Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.