public WCFFont(string name, float emSize, WCFFontStyle style, WCFGraphicsUnit unit, byte gdiCharSet, bool gdiVerticalFont) { this.name = name; this.size = emSize; this.style = style; this.unit = unit; this.gdiCharSet = gdiCharSet; this.gdiVerticalFont = gdiVerticalFont; }
public static FontStyle ToNET(WCFFontStyle style) { return((FontStyle)Convert.ToInt32(style)); }