Font Constructor Cognex VisionPro 9.25 SR1

Initializes a new Font that uses the specified existing font family, size and font style.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.25.1.0
Syntax

public Font(
	string fontFamilyName,
	int sizeInPoints,
	FontStyleConstants fontStyle
)
Exceptions

ExceptionCondition
ArgumentExceptionfontFamilyName is empty or whitespace only.
See Also