Font property
Returns a font object that specifies the font properties for the text of an object. Read-only.
Syntax
object
.Font
.PropertyName
where
object
– is the name of an object that contains text, or an expression that evaluates to an object that contains text.PropertyName
– is the name of a font object property.Remarks
- For a Button object, Font returns the font for only the Up state.
- The Font object returned by the Font property, has the following properties:
- Bold(Boolean)
- Charset(Integer)
- Italic(Boolean)
- Name(String)
- Size(Currency)
- Strikethough(Boolean)
- Underline(Boolean)
- Weight(Integer)
Provide Feedback