[]
        
(Showing Draft Content)

C1.FlexMap.IMapDevice.MeasureString

MeasureString Method

MeasureString(string, double, IMapStyle)

Gets the size of the string.

Declaration
Size MeasureString(string text, double width, IMapStyle style)
Parameters
Type Name Description
string text

The string to be measured.

double width

The maxinum width.

IMapStyle style

The style used to measure.

Returns
Type Description
Size

The pixels size the the content, using the specified style.