Copyright © 1998-2015 MultiMedia Soft

Texture.Mode property

Previous pageReturn to chapter overviewNext page

Type

long for Visual C++

enumTextureModes for Visual Basic

 

 

Syntax

object.Texture.Mode [=enumTextureModes]

 

 

Remarks

The mode used to display a texture, loaded into the Texture.Filepath property, over the button surface.

Supported values are the following:

Mnemonic constant

Value

Meaning

TEXTURE_NONE

0

No texture displayed: this setting is useful when you want to hide the available texture without removing the current texture settings.

3dabm_i000073

TEXTURE_WHOLE

1 (default)

The texture covers completely the button surface.

3dabm_i000074

TEXTURE_OUTSIDE

2

The texture is displayed only on the external part of the button surface when a special effect (see the SpecialEffect property) is applied.

3dabm_i000075

TEXTURE_INSIDE

3

The texture is displayed only on the internal part of the button surface when a special effect (see the SpecialEffect property) is applied.

3dabm_i000076

 

 

See also

Texture object.

TextureSurface property.

How to apply a texture to the button surface section.