ImageGlass.ImageBox.DrawLabel C# (CSharp) Method

DrawLabel() protected method

Draws the specified text within the specified bounds using the specified device context, font, color, back color, and formatting instructions.
protected DrawLabel ( Graphics graphics, string text, Font font, Color foreColor, Color backColor, ContentAlignment textAlign, Rectangle bounds ) : void
graphics System.Drawing.Graphics The device context in which to draw the text.
text string The text to draw.
font System.Drawing.Font The to apply to the drawn text.
foreColor Color The to apply to the text.
backColor Color The to apply to the area represented by bounds.
textAlign ContentAlignment The to apply to the text.
bounds System.Drawing.Rectangle The that represents the bounds of the text.
return void
        protected void DrawLabel(Graphics graphics, string text, Font font, Color foreColor, Color backColor, ContentAlignment textAlign, Rectangle bounds)
        {
            DrawLabel(graphics, text, font, foreColor, backColor, textAlign, bounds, ScaleText);
        }

Same methods

ImageBox::DrawLabel ( Graphics graphics, string text, Font font, Color foreColor, Color backColor, ContentAlignment textAlign, Rectangle bounds, bool scaleText ) : void
ImageBox::DrawLabel ( Graphics graphics, string text, Font font, Color foreColor, Color backColor, ContentAlignment textAlign, Rectangle bounds, bool scaleText, Padding padding ) : void
ImageBox::DrawLabel ( Graphics graphics, string text, Font font, Color foreColor, Color backColor, Rectangle bounds ) : void
ImageBox::DrawLabel ( Graphics graphics, string text, Font font, Color foreColor, Rectangle bounds ) : void
ImageBox::DrawLabel ( Graphics graphics, string text, Font font, Rectangle bounds ) : void
ImageBox::DrawLabel ( Graphics graphics, string text, Rectangle bounds ) : void
ImageBox