TextFixed

View as Markdown

Definition

Represents an interface that exposes information regarding a Text Fixed IDrawingTool.

Methods and Properties

AnchorYPixelOffsetAlignmentAreaOpacityAreaBrushDisplayTextTextBrushFontOutlineStrokeTextPosition
An IDrawingTool’s ChartAnchor representing the point of the drawing objectAn int value representing the offset value in pixels from within the text box areaPossible values are:
TextAlignment.Center
TextAlignment.Far TextAlignment.Near TextAlignment.Justify (reference)
An int value representing the opacity of the area colorA Brush class representing the fill color of the text boxA string value representing the text to be drawnA Brush class representing the color of the textA Font object representing the font for the textThe Stroke object used to outline the text boxPossible values are:
TextPosition.BottomLeft
TextPosition.BottomRight TextPosition.Center TextPosition.TopLeft TextPosition.TopRight

Examples

1// Instantiate a TextFixed object
2TextFixed myTF = Draw.TextFixed(this, "tag1", "Text to draw", TextPosition.TopRight);
3
4// Change the object's TextPosition
5myTF.TextPosition = TextPosition.Center;