Gets or sets the Effect of the text.
Namespace:
Aurigma.GraphicsMill.AdvancedDrawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public Effect Effect { get; set; }
using (var bitmap = new Bitmap(170, 40, PixelFormat.Format24bppRgb, RgbColor.White)) using (var graphics = bitmap.GetAdvancedGraphics()) { var plainText = new PlainText("Plain Text", graphics.CreateFont("Arial", 30), new System.Drawing.PointF(20, 30)); plainText.Pen = new Pen(RgbColor.Blue); plainText.Brush = new SolidBrush(RgbColor.Black); plainText.Underline = true; graphics.DrawText(plainText); bitmap.Save(@"Images\Output\out.png"); }