Represents an Open Type feature.
Namespace:
Aurigma.GraphicsMill.AdvancedDrawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public struct OpenTypeFeature
using (var bitmap = new Bitmap(200, 40, PixelFormat.Format24bppRgb, RgbColor.White)) using (var graphics = bitmap.GetAdvancedGraphics()) { var plainText = new PlainText("OpenType Small Caps", FontRegistry.Installed.CreateFont("Lyon Text", "Regular", 18, graphics.DpiX, graphics.DpiX), new System.Drawing.PointF(10, 25)); plainText.CharStyle.OpenTypeFeatures.Add(new OpenTypeFeature(OpenTypeFeatureTag.Smcp)); graphics.DrawText(plainText); bitmap.Save(@"Images\Output\DrawOpenTypeHash.png"); }