Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreview.UseThemes Property

Defines whether Windows themes are used (Windows XP and up).

Syntax

Get

VB.NETBoolean = object.UseThemes As Boolean
VBBoolean = object.UseThemes As Boolean
C#.NETbool Boolean = object.UseThemes;
VC++VARIANT_BOOL Boolean = object->UseThemes;
VARIANT_BOOL Boolean = object->GetUseThemes();
CHRESULT object->get_UseThemes(VARIANT_BOOL* Boolean);

Put

VB.NETobject.UseThemes = Boolean As Boolean
VBobject.UseThemes = Boolean As Boolean
C#.NETbool object.UseThemes = Boolean;
VC++VARIANT_BOOL object->UseThemes = Boolean;
void object->PutUseThemes(VARIANT_BOOL Boolean);
CHRESULT object->put_UseThemes(VARIANT_BOOL Boolean);

object

A SftPrintPreview object.

Boolean

Defines whether Windows themes are used (Windows XP and up).

BooleanDescription
TrueWindows themes can be used, if available.
FalseWindows themes are never used.

Comments

The UseThemes property defines whether Windows themes are used (Windows XP and up).

When defining the use of Windows themes, the application must use an application manifest to make use of the Common Controls version 6, otherwise the Page Setup dialog will use themes for some of the controls, but not for the entire dialog.

Windows themes are only available on Windows XP and above. Older Windows versions do not support Windows themes and this property has no effect.

See Also SftPrintPreview Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.