Vytvoří a přidá 2D text na plochu.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
public XText2D AddText( string text, Font font, Color color, int x, int y, int width, int height ) |
Parametry
- text
- Typ: System..::.String
Zobrazovaný text.
- font
- Typ: System.Drawing..::.Font
Typ písma Font.
- color
- Typ: System.Drawing..::.Color
Barva textu.
- x
- Typ: System..::.Int32
Souřadnice X textu.
- y
- Typ: System..::.Int32
Souřadnice Y textu.
- width
- Typ: System..::.Int32
Šířka textu.
- height
- Typ: System..::.Int32
Výška textu.