Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

POSNameTypeDescription
<1, 1, 1>NameTextThe face name of the font, e.g., "Arial"
<1, 1, 2>HeightIntegerPositive point size value or negative GDI value
<1, 1, 3>WeightIntegerThe font's weight: 400 for normal or 700 for bold
<1, 1, 4>ItalicBooleanTrue for italic text
<1, 1, 5>UnderlineBooleanTrue for underlined text
<1, 1, 6>WidthIntegerThe font's average character width (usually 0)
<1, 1, 7>Character SetIntegerThe font's character set (usually 0)
<1, 1, 8>Pitch and FamilyIntegerThe font's pitch and family (usually 24)
<1, 1, 9>StrikethroughBooleanTrue for strikethrough text
<1, 1, 10>Out PrecisionIntegerThe font' output precision. (usually 0)
<1, 1, 11>Clip PrecisionIntegerThe font' clipping precision. (usually 0)
<1, 1, 12>QualityIntegerThe font's output quality. (usually 0)

...

Code Block
 // Set the current font to 8 pt. 
Set_Property(@Window:".OLE_CTRL", "OLE.Font", @SVM:8) 
Set_Property(@Window:".OLE_CTRL", "OLE.Font", @SVM:-11)

See Also

Multivalue