Table of Contents

Method MeasureTextSize

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

MeasureTextSize(string, FontFamily, FontStyle, FontWeight, FontStretch, double)

public Size MeasureTextSize(string text, FontFamily fontFamily, FontStyle fontStyle, FontWeight fontWeight, FontStretch fontStretch, double fontSize)

Parameters

text string
fontFamily FontFamily
fontStyle FontStyle
fontWeight FontWeight
fontStretch FontStretch
fontSize double

Returns

Size