Macro Reference — Document Object — FontCategory Property (Document Object)

# FontCategory Property (Document Object)

Retrieves or sets the current font category.

##

### [JavaScript]

    nCategory = document.FontCategory;
    document.FontCategory = nCategory;

### [VBScript]

    nCategory = document.FontCategory
    document.FontCategory = nCategory

## Parameters

nCategory

Select from the following values.

eeFontCategoryDefault | Normal
eeFontCategoryArabic | Arabic
eeFontCategoryBaltic | Baltic
eeFontCategoryCentralEuropean | Central European
eeFontCategoryChineseSimplified | Simplified Chinese
eeFontCategoryChineseTraditional | Traditional Chinese
eeFontCategoryCyrillic | Cyrillic
eeFontCategoryGreek | Greek
eeFontCategoryHebrew | Hebrew
eeFontCategoryJapanese | Japanese
eeFontCategoryKorean | Korean
eeFontCategoryThai | Thai
eeFontCategoryTurkish | Turkish
eeFontCategoryVietnamese | Vietnamese
eeFontCategoryWesternEuropean | Western European
eeFontCategoryOEM | OEM/DOS

## Version

Supported on EmEditor Professional Version 4.00 or later.