Свойство | Тип | Описание | |
---|---|---|---|
m_font | |||
m_width | int |
Метод | Описание | |
---|---|---|
StringMeasureEnv ( IVwEnv baseEnv, ISilDataAccess sda, int hvoRoot, System graphics, System font ) : System |
Initializes a new instance of the T:StringMeasureEnv class.
|
Метод | Описание | |
---|---|---|
AddResultString ( string s ) : void |
Accumulate a string into our result, by adding its width
|
|
AddStringWidth ( string s ) : void |
update total pixel width for display
|
protected AddResultString ( string s ) : void | ||
s | string | The s. |
Результат | void |
protected AddStringWidth ( string s ) : void | ||
s | string | |
Результат | void |
public StringMeasureEnv ( IVwEnv baseEnv, ISilDataAccess sda, int hvoRoot, System graphics, System font ) : System | ||
baseEnv | IVwEnv | The base env. |
sda | ISilDataAccess | Date access to get prop values etc. |
hvoRoot | int | The root object to display, if m_baseEnv is null. /// If baseEnv is not null, hvoRoot is ignored. |
graphics | System | To use to measure string |
font | System | To use to measure strings |
Результат | System |