Hi,
In GDI Capture PlugIn RawText property .FontStyle property is not working always that property value returns Normal only.
Here are the code Sample.
public static bool VerifyRawText(this Ranorex.Adapter Container, string ActualText)
{
bool isFound = false;
IList<Ranorex.RawText> Texts = Container.FindChildren<Ranorex.RawText>();
foreach (Ranorex.RawText rText in Texts)
{
if (rText.RawTextValue.Contains(ActualText))
{
System.Windows.Forms.MessageBox.Show(rText.FontStyle );
isFound = true;
break;
}
}
return isFound;
}
Even for bold text also that property value return Normal.
Can any one help on this issue.
Thanks,
Manohar