[]
        
(Showing Draft Content)

C1.Word.Objects.RtfCollection.IndexOf

IndexOf Method

IndexOf(RtfObject)

Returns the index within the collection of the element.

Declaration
public int IndexOf(RtfObject obj)
Parameters
Type Name Description
RtfObject obj

The object for the Word/RTF document.

Returns
Type Description
int

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