Accusoft ImagXpress 12
CtlSetFontStyle Method
See Also  Send comments on this topic.
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.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : CtlSetFontStyle Method

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.