FontFallBackRuleIndexOf Method |
Returns an index of the specified rule in the collection.
Namespace:
Aspose.Slides
Assembly:
Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntaxpublic int IndexOf(
string fontName
)
Public Function IndexOf (
fontName As String
) As Integer
public:
virtual int IndexOf(
String^ fontName
) sealed
abstract IndexOf :
fontName : string -> int
override IndexOf :
fontName : string -> int
Parameters
- fontName
- Type: SystemString
Font's name to find.
Return Value
Type:
Int32Index of a font or -1 if font not found in list.
Implements
IFontFallBackRuleIndexOf(String)
Examples[C#]
IFontFallBackRule newRule = new FontFallBackRule(0x3040, 0x309F, "MS Mincho, MS Gothic, Tahoma, Times New Roman");
int tahomaIndex = newRule.IndexOf("Tahoma");
See Also