VintaSoft Barcode .NET SDK 16.0: Руководство для .NET разработчика
Vintasoft.Barcode Namespace / GdiConverter Class / Convert Methods / Convert(Font) Method
Синтаксис Требования Смотрите также
В этом разделе
Convert(Font) Метод (GdiConverter)
В этом разделе
Преобразует указанный System.Drawing.Font в TextFont. Право собственности на font передается, поэтому вызывающая сторона не должна ссылаться на него снова.
Синтаксис
'Declaration

Public Overloads Shared Function Convert( _
ByVal font
Шрифт.
As System.Drawing.Font _
) As Vintasoft.Barcode.TextRendering.TextFont
public static Vintasoft.Barcode.TextRendering.TextFont Convert(
System.Drawing.Font font
)

Parameters

font
Шрифт.

Return Value

Новый экземпляр TextFont.
Требования

Целевые платформы: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

Смотрите также