SetDefaultFont (Method) - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License

Description

Used to set the default font for all cells in the grid on the GridChoiceDialog.

Applicable Events

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

Syntax

object.SetDefaultFont strFont, [nPointSize=12], [nWeight=400]

Required Parameters

Object is a reference to the GridChoiceDialog object. For more information, see GridChoiceDialog Object (page GridChoiceDialog Object).

SetDefaultFont is the command.

strFont, is the name of the default font for all cells in the grid.

Optional Parameters

nPointSize is the point size of the font. The default value is 12pt.

nWeight is the weight of the font. The default value is 400. Valid values are:

  • THIN 100

  • EXTRALIGHT 200

  • LIGHT 300

  • NORMAL 400

  • MEDIUM 500

  • SEMIBOLD 600

  • BOLD 700

  • EXTRABOLD 800

  • BLACK 900

Example

GridChoiceDialog.SetDefaultFont "Times New Roman", 12pt, 400