private static void ShowDescription (HPdfPage page, float x, float y, string text) { float fsize = page.GetCurrentFontSize(); HPdfFont font = page.GetCurrentFont(); HPdfRGBColor c = page.GetRGBFill(); page.BeginText(); page.SetRGBFill(0, 0, 0); page.SetTextRenderingMode(HPdfTextRenderingMode.HPDF_FILL); page.SetFontAndSize(font, 10); page.TextOut(x, y - 12, text); page.EndText(); page.SetFontAndSize(font, fsize); page.SetRGBFill(c.r, c.g, c.b); }