MapperUtilsApproxWidthInPixels Method |
Estimate the width of the string, in pixels, for the specified point size.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static int ApproxWidthInPixels(
string s,
double fontSizeInPts
)
Public Shared Function ApproxWidthInPixels (
s As String,
fontSizeInPts As Double
) As Integer
Parameters
- s
- Type: SystemString
The string - fontSizeInPts
- Type: SystemDouble
The font size, in points.
Return Value
Type:
Int32The estimated pixel width of the unwrapped string.
See Also