Altova StyleVision 2025 Enterprise Edition

Method: MoveBegin (eKind as SPYAuthenticElementKind, nCount as Long) as AuthenticRange

 

Description

Move the beginning of the range to the beginning of the nCount element of type eKind. Counting starts at the current beginning of the range object.

 

Use positive numbers for nCount to move towards the document end, use negative numbers to move towards document beginning. The end of the range stays unmoved, unless the new beginning would be larger than it. In this case, the end is moved to the new beginning. The method returns the modified range object.

 

Errors

2001

The authentic range object, or its related view object is no longer valid.

2003

Target lies after end of document.

2004

Target lies before beginning of document.

2005

Invalid element kind specified.

Invalid address for the return parameter was specified.

© 2018-2024 Altova GmbH