FontIsStyleAvailable Method

See Also     Examples     Applies To

Determines whether the specified style is available for this font family.

Syntax

object.FontIsStyleAvailable (sFontName, nFontStyle)

The FontIsStyleAvailable syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
sFontName Required. String. The font family name. ("Arial" or "Helvetica"...)
nFontStyle Required. FontStyle long value. Can be:
Style Regular = 0.
Style Bold = 1.
Style Italic = 2.
Style BoldItalic = 3.
Style Underline = 4.
Style Strikeout = 8.

Returns

Boolean. True if the font style is available else False.

Category

Font Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.