PDF .NET Library Documentation - PDF Technologies, Inc.
This procedure sets the active font for text operations.

Namespace:  PDFTech
Assembly:  PDFTechLib (in PDFTechLib.dll) Version: 1.0.0.0 (1.7.9.0)

Syntax

C#
public void SetActiveFont(
	string FontName,
	PDFFontStyles fontStyle,
	double FontSize,
	Charset FontCharset,
	Color fontColor
)
Visual Basic (Declaration)
Public Sub SetActiveFont ( _
	FontName As String, _
	fontStyle As PDFFontStyles, _
	FontSize As Double, _
	FontCharset As Charset, _
	fontColor As Color _
)
Visual C++
public:
void SetActiveFont(
	String^ FontName, 
	PDFFontStyles fontStyle, 
	double FontSize, 
	Charset FontCharset, 
	Color fontColor
)

Parameters

FontName
Type: System..::.String
Font name
fontStyle
Type: PDFTech..::.PDFFontStyles
Font style
FontSize
Type: System..::.Double
Font size
FontCharset
Type: PDFTech..::.Charset
Font charset
fontColor
Type: System.Drawing..::.Color
Font color

Remarks

This function sets the font value of the canvas. PDFTechLib retrieves the required information from the underlying system and embeds this information into the PDF.

See Also