PdfChart.CreateFont Method

PDF File Writer

PdfChartCreateFont Method

Helper method to create a font for chart drawing.

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public Font CreateFont(
	string FontFamilyName,
	FontStyle FontStyle,
	double FontSize,
	FontSizeUnit Unit
)

Parameters

FontFamilyName
Type: SystemString
Font family name.
FontStyle
Type: System.DrawingFontStyle
Font style.
FontSize
Type: SystemDouble
Font size per unit argument.
Unit
Type: PdfFileWriterFontSizeUnit
Font size unit.

Return Value

Type: Font
.NET font
See Also