PictureWidth Property (AButton)

Returns or sets the width in pixels of the Picture object in the control.

Syntax

Object.PictureWidth [ = lPictureWidth ]

The PictureWidth property syntax has the following parts:

 

Name

Type

Description

Object

AButton

AButton control

lPictureWidth

APixel

An integer specifying the width of the Picture object on the AButton.

Example

The following statement changes the AButton's PictureWidth so the picture is ten pixels wide in the face area of the button.

btn1.PictureWidth=10

Applies to

AButton

See Also

Picture, PictureAlignment, PictureDrawMode, PictureHeight, PictureLeft, PictureTop