Acceleratio.SPDG.Generator.SampleData.DrawText C# (CSharp) Method

DrawText() private static method

private static DrawText ( XGraphics gfx, double x, double y, double width, double height, XFontStyle fontStyle, int size, string text ) : void
gfx PdfSharp.Drawing.XGraphics
x double
y double
width double
height double
fontStyle XFontStyle
size int
text string
return void
        private static void DrawText(XGraphics gfx, double x, double y, double width, double height, XFontStyle fontStyle, int size, string text)
        {
            DrawText(gfx, x, y, width, height, fontStyle, size, text, XBrushes.Black, XStringFormats.TopLeft);
        }

Same methods

SampleData::DrawText ( XGraphics gfx, double x, double y, double width, double height, XFontStyle fontStyle, int size, string text, PdfSharp.Drawing.XBrush brush, PdfSharp.Drawing.XStringFormat stringformat ) : void