Method MeasureWidth
- Namespace
- LMKit.Document.Annotations.Appearance
- Assembly
- LM-Kit.NET.dll
MeasureWidth(string, AnnotationFontFamily, AnnotationFontWeight, double)
Advance width of a string, in points, at the given size.
public static double MeasureWidth(string text, AnnotationFontFamily family, AnnotationFontWeight weight, double fontSize)
Parameters
textstringfamilyAnnotationFontFamilyweightAnnotationFontWeightfontSizedouble