private int _getGDIStyle()
{
int style = (int)FontStyle.Regular;
string fontWeight = GetPropertyValue("font-weight");
if(fontWeight == "bold" || fontWeight == "bolder" || fontWeight == "600" || fontWeight == "700" || fontWeight == "800" || fontWeight == "900")
{
style = style | (int)FontStyle.Bold;
}
if(GetPropertyValue("font-style")=="italic")
{
style = style | (int)FontStyle.Italic;
}
string textDeco = GetPropertyValue("text-decoration");
if(textDeco=="line-through")
{
style = style | (int)FontStyle.Strikeout;
}
else if(textDeco=="underline")
{
style = style | (int)FontStyle.Underline;
}
return style;
}