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 GraphicsUnit ToNET(WCFGraphicsUnit unit) { return((GraphicsUnit)Convert.ToInt32(unit)); }