Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

Appearance Property, SftPictureObject Object

Defines the image object using a built-in, special purpose image.

Syntax

Get

VB.NETStyle = object.Appearance As SftPictureImageConstants
VBStyle = object.Appearance As SftPictureImageConstants
C#.NETSftPictureImageConstants Style = object.Appearance;
VC++enum SftPictureImageConstants Style = object->Appearance;
enum SftPictureImageConstants Style = object->GetAppearance();
CHRESULT object->get_Appearance(enum SftPictureImageConstants* Style);

Put

VB.NETobject.Appearance = Style As SftPictureImageConstants
VBobject.Appearance = Style As SftPictureImageConstants
C#.NETSftPictureImageConstants object.Appearance = Style;
VC++enum SftPictureImageConstants object->Appearance = Style;
void object->PutAppearance(enum SftPictureImageConstants Style);
CHRESULT object->put_Appearance(enum SftPictureImageConstants Style);

object

A SftPictureObject object.

Style

Defines the image object using a built-in, special purpose image.

NameValueDescription
sftImageNone-1None
sftImageCheckboxNo0Checkbox - No
sftImageCheckboxYes1Checkbox - Yes
sftImageCheckboxUnknown2Checkbox - Unknown
sftImageCheckboxNoDisabled3Checkbox - No, Disabled
sftImageCheckboxYesDisabled4Checkbox - Yes, Disabled
sftImageCheckboxUnknownDisabled5Checkbox - Unknown, Disabled
sftImageRadioButtonNo6RadioButton - No
sftImageRadioButtonYes7RadioButton - Yes
sftImageRadioButtonNoDisabled8RadioButton - No, Disabled
sftImageRadioButtonYesDisabled9RadioButton - Yes, Disabled
sftImageUp10Up
sftImageUpDisabled11Up, Disabled
sftImageDown12Down
sftImageDownDisabled13Down, Disabled
sftImageSortAsc14Sort Ascending
sftImageSortAscDisabled15Sort Ascending, Disabled
sftImageSortDesc16Sort Descending
sftImageSortDescDisabled17Sort Descending, Disabled

Comments

The Appearance property defines the image object using a built-in, special purpose image.

The SftPictureObject.Type property is set to sftTypeBuiltin.

The SftPictureObject.Height and SftPictureObject.Width properties should be used to define the requested image size. The SftPictureObject.Height and SftPictureObject.Width properties reflect the image dimensions.

See Also SftPictureObject Object | Object Hierarchy


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