Accusoft ImagXpress 13
CtlSetFontStyle Method

An integer value which represents the font style to set.

Value Description
FONT_BOLD ( 0 ) Bold
FONT_ITALIC ( 1 ) Italic
FONT_UNDERLINE ( 2 ) Underline
FONT_STRIKE ( 3 ) Strikethrough

A boolean expression which determines whether the Style should be set. A value of TRUE(1) sets the Style on; a value of FALSE(0) sets the Style off.
Description
Sets the ImagXpress font style.
Syntax
Visual Basic
Public Sub CtlSetFontStyle( _
   ByVal Style As Integer, _
   ByVal Value As Long _
) 
Parameters
Style

An integer value which represents the font style to set.

Value Description
FONT_BOLD ( 0 ) Bold
FONT_ITALIC ( 1 ) Italic
FONT_UNDERLINE ( 2 ) Underline
FONT_STRIKE ( 3 ) Strikethrough

Value
A boolean expression which determines whether the Style should be set. A value of TRUE(1) sets the Style on; a value of FALSE(0) sets the Style off.
Remarks

This property is provided as a replacement for the stock ActiveX Font property. The stock ActiveX properties are not available when using ImagXpress as a COM object or when using the ImagXpress ActiveX control in a container that does not support the stock properties.  In these cases, use CtlFontStyle to get or set the controls font style.

See Also

ImagXpress Object  | ImagXpress Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback