Метод | Описание | |
---|---|---|
FontBase ( object nativeFont ) : System.Text |
Initializes a new instance of the FontBase class.
|
|
GetNativeFont ( ) : object |
Gets the native font.
|
|
MeasureString ( |
Measures the string.
|
|
MeasureString ( string text, float dpiScaleX, float dpiScaleY ) : Size |
Measures the string.
|
public FontBase ( object nativeFont ) : System.Text | ||
nativeFont | object | The native font. |
Результат | System.Text |
public abstract GetNativeFont ( ) : object | ||
Результат | object |
public abstract MeasureString ( |
||
text | The text. | |
dpiScaleX | float | The dpi scale x. |
dpiScaleY | float | The dpi scale y. |
Результат | Size |
public abstract MeasureString ( string text, float dpiScaleX, float dpiScaleY ) : Size | ||
text | string | The text. |
dpiScaleX | float | The dpi scale x. |
dpiScaleY | float | The dpi scale y. |
Результат | Size |