Proměří velikost oblasti, kterou by text text zabíral při aktuálním nastavení.
Jmenný prostor:
SGP.Baltie2DKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public SizeF MeasureString( string text, PointF origin, StringFormat stringFormat ) |
Parametry
- text
- Typ: System..::.String
Text, který má být proměřen.
- origin
- Typ: System.Drawing..::.PointF
Levý horní roh textu.
- stringFormat
- Typ: System.Drawing..::.StringFormat
Formát řetězce StringFormat.