List the names of every font available within the specified font file.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 75.1.0.0
Syntax
Parameters
- fileName
- Type: System String
The name of the file to be examined.
Return Value
Type: StringA System::Array of System::String in which each string is the name of a font that is defined within the specified file.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | If an error occurs, including not finding or being able to open the specified file. |
| ArgumentNullException | If the fileName argument is NULL. |
See Also