TextFont
Describes a font that is available to the application. Access this object in the Photoshop.fonts collection.
Copied to your clipboardconst arialMTFont = require('photoshop').app.fonts.getByName("ArialMT");
Properties#
family#
• Readonly
family: string
The font family.
name#
• Readonly
name: string
The name of the font.
parent#
• Readonly
parent: Photoshop
The containing application.
postScriptName#
• Readonly
postScriptName: string
The PostScript name of the font.
style#
• Readonly
style: string
The font style.
typename#
• Readonly
typename: string
The class name of the referenced object