ComponentOne Word for UWP
IndexOf Method (RtfCollection)

C1.UWP.Word Assembly > C1.Xaml.Word.Objects Namespace > RtfCollection Class : IndexOf Method
The object for the Word/RTF document.
Returns the index within the collection of the element.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal obj As RtfObject _
) As System.Integer
public System.int IndexOf( 
   RtfObject obj
)

Parameters

obj
The object for the Word/RTF document.

Return Value

The zero-based index of the first occurrence of element, if found, otherwise, -1.
See Also

Reference

RtfCollection Class
RtfCollection Members