ComponentOne Word for UWP
IndexOf(Font) Method

C1.UWP.Word Assembly > C1.Xaml.Word.Objects Namespace > RtfFontCollection Class > IndexOf Method : IndexOf(Font) Method
The drawing font.
Returns the index within the collection of the element.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal font As Font _
) As System.Integer
public System.int IndexOf( 
   Font font
)

Parameters

font
The drawing font.

Return Value

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

Reference

RtfFontCollection Class
RtfFontCollection Members
Overload List