Table of Contents

Method CreateTextFormat

Namespace
PaintDotNet.DirectWrite
Assembly
PaintDotNet.Windows.dll

CreateTextFormat(string, IFontCollection?, FontWeight, FontStyle, FontStretch, float, string?)

ITextFormat CreateTextFormat(string fontFamilyName, IFontCollection? fontCollection, FontWeight fontWeight, FontStyle fontStyle, FontStretch fontStretch, float fontSize, string? localeName = null)

Parameters

fontFamilyName string
fontCollection IFontCollection
fontWeight FontWeight
fontStyle FontStyle
fontStretch FontStretch
fontSize float
localeName string

Returns

ITextFormat