FontId - property of the PmgString object
Note:
Property access
for read and write. The preset value of this property is defined in the "
Font" configurator of this object.
This property is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oString = pMe.Items("/Txt");
var sFontId = oString.FontId; //reading
oString.FontId = "PmBig"; //writing
Dim oString, sFontId
Set oString = pMe.Items("/Txt")
sFontId = oString.FontId 'reading
oString.FontId = "PmBig" 'writing