SetCellFont (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 font for a specific cell in the grid on the GridChoiceDialog. This method overrides the font parameters that are set in the SetDefaultFont method.

Applicable Events

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

Syntax

object.SetCellFont nRow, nCol, strFontName, [nPointSize=12], [nWeight=400]

Required Parameters

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

SetCellFont is the command.

strFont, is the name of the font for the specified cell in the grid.

nRow is the row number that the font is applied to.

nCol is the column number that the font is applied to.

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.SetCellFont 5, 2, "Times New Roman", 12pt, 400