Sets the TextFont property of the control in Access.
void SetAccessFont(BSTR FontName, short FontSize, VARIANT_BOOL Bold, VARIANT_BOOL Italic); |
Parameters
FontName
A string that contains the font name.
FontSize
Indicates the font size.
Bold
Indicates whether a bold style is applied to the font or not.
Italic
Indicates whether an italic style is applied to the font or not.
Remarks
The TextFont property is not visible in the property page of the control in Access, this method can be used to set the font property of human readable text in the barcode.