get_text_width_points method

get_text_width_points

Gets the text width points.

Returns

Returns width

def get_text_width_points(self, text):
    ...
ParameterTypeDescription
textstrThe text to calculate.

get_text_width_points

Gets the text width points.

Returns

Returns width

def get_text_width_points(self, text, start_index, char_count):
    ...
ParameterTypeDescription
textstrThe text to calculate.
start_indexintThe start index.
char_countintThe char count.

See Also