Click or drag to resize

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
)

Parameters

s
Type: SystemString
The string
fontSizeInPts
Type: SystemDouble
The font size, in points.

Return Value

Type: Int32
The estimated pixel width of the unwrapped string.
See Also