Property | Type | Description | |
---|---|---|---|
m_font | |||
m_width | int |
Method | Description | |
---|---|---|
StringMeasureEnv ( IVwEnv baseEnv, ISilDataAccess sda, int hvoRoot, System graphics, System font ) : System |
Initializes a new instance of the T:StringMeasureEnv class.
|
Method | Description | |
---|---|---|
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. |
return | 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 |
return | System |