protected void ExportTextElement(Graphics graphics, TextElement textElement)
        {
            var text = textElement.Content;

            var fontFamily = textElement.FontStyle.FontName;
            var emSize     = (float)textElement.FontStyle.FontHeight.ConvertToUnits(LengthUnits.Points).Quantity;
            var font       = new Font(fontFamily, emSize);

            if (textElement.FontStyle.FontEmphasis == FontEmphasis.Italic)
            {
                font = new Font(fontFamily, emSize, System.Drawing.FontStyle.Italic);
            }

            if (textElement.FontStyle.FontWeight == FontWeight.Bold)
            {
                font = new Font(fontFamily, emSize, System.Drawing.FontStyle.Bold);
            }

            var brush = Brushes.Black;

            var x     = (float)(textElement.Position.X + textElement.LeftWidth - textElement.Offset).Quantity;
            var y     = (float)(textElement.Position.Y + textElement.TopWidth).Quantity;
            var point = new PointF(x, y);

            //  graphics.DrawString(text, font, brush, point);

            var fontEmphasis = (textElement.FontStyle.FontEmphasis == FontEmphasis.Italic) ? "italic" : "none";
            var fontWeight   = (textElement.FontStyle.FontWeight == FontWeight.Bold) ? "bold" : "normal";

            _fontLoader.DrawString(graphics, text, emSize, fontEmphasis, fontWeight, brush, point);

            if (textElement.DrawConstructionLines == true)
            {
                DrawConstructionLines(graphics, textElement.Position, textElement.SizeIncludingOuterMargin);
            }
        }