Returns the number of the fonts in the font collection of the document.
Applies to: Document object
[[Let] countRet =] object.FontsNum () |
The FontsNum method syntax has these parts:
Part | Description |
object | Required. An expression, that returns an instance of the Document object. |
countRet | Optional. A Long type variable. |
The list of fonts is built when the document is created. The number of the fonts depends on how many fonts are installed on the operating system. The FontsNum always returns a value equal or greater than 1, because there's always at least 1 font on the operating system.
See Also |
FontName method, FindFontByName method |