Exemple #1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Check the given text props to see if they specify the given style
 /// </summary>
 /// <param name="ttp">Text props</param>
 /// <param name="sStyle">Style</param>
 /// <returns>true if the given text props use the given named style; false otherwise</returns>
 /// ------------------------------------------------------------------------------------
 public static bool IsStyle(this ITsTextProps ttp, string sStyle)
 {
     return(ttp.Style() == sStyle);
 }