Accusoft Pegasus
ScanFix ActiveX 6.0
InsertOption Method
See Also  Send Feedback
index
The zero-based index where this method will place the element. If the value of this parameter is equal to the original number of elements in the collection, this method will perform the same operation as the AddOption method.
Option
The enhancement option to insert into the collection at the given index.

Description

Inserts the given Option into the collection at the given index.

Syntax

Visual Basic
Public Sub InsertOption( _
   ByVal index As Long, _
   ByVal Option As Object _
) 

Parameters

index
The zero-based index where this method will place the element. If the value of this parameter is equal to the original number of elements in the collection, this method will perform the same operation as the AddOption method.
Option
The enhancement option to insert into the collection at the given index.

Remarks

This method inserts the given Option into the collection at the given index. It moves all elements (if any) that follow the newly added element back one place (their indices will be one greater than they were.)

See Also


©2010. Pegasus Imaging Corporation, DBA Accusoft Pegasus. All Rights Reserved.