Align a Picture on a Control
Right-click the control that has the bitmap that you want to align, then click Advanced Properties.
Set one or all of the following properties. To set a property, select the property, type a value in the Properties box, and then click Apply.
Property | Description |
---|---|
PictureAlignment | Centers the picture within the Image or aligns any corner of the picture with the corresponding corner of the Image. |
PictureSizeMode | Clips, stretches, or zooms the picture within the Image (stretching can distort the picture but zooming does not). |
PictureTiling | Shows multiple copies of the picture within the Image. |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.