PicturePosition property
Specifies the location of the picture relative to its caption.
Syntax
object.PicturePosition [= fmPicturePosition ]
The PicturePosition property syntax has these parts:
Part | Description |
---|---|
object | Required. A valid object. |
fmPicturePosition | Optional. How the picture aligns with its container. |
Settings
The settings for fmPicturePosition are:
Constant | Value | Description |
---|---|---|
fmPicturePositionLeftTop | 0 | The picture appears to the left of the caption. The caption is aligned with the top of the picture. |
fmPicturePositionLeftCenter | 1 | The picture appears to the left of the caption. The caption is centered relative to the picture. |
fmPicturePositionLeftBottom | 2 | The picture appears to the left of the caption. The caption is aligned with the bottom of the picture. |
fmPicturePositionRightTop | 3 | The picture appears to the right of the caption. The caption is aligned with the top of the picture. |
fmPicturePositionRightCenter | 4 | The picture appears to the right of the caption. The caption is centered relative to the picture. |
fmPicturePositionRightBottom | 5 | The picture appears to the right of the caption. The caption is aligned with the bottom of the picture. |
fmPicturePositionAboveLeft | 6 | The picture appears above the caption. The caption is aligned with the left edge of the picture. |
fmPicturePositionAboveCenter | 7 | The picture appears above the caption. The caption is centered below the picture (default). |
fmPicturePositionAboveRight | 8 | The picture appears above the caption. The caption is aligned with the right edge of the picture. |
fmPicturePositionBelowLeft | 9 | The picture appears below the caption. The caption is aligned with the left edge of the picture. |
fmPicturePositionBelowCenter | 10 | The picture appears below the caption. The caption is centered above the picture. |
fmPicturePositionBelowRight | 11 | The picture appears below the caption. The caption is aligned with the right edge of the picture. |
fmPicturePositionCenter | 12 | The picture appears in the center of the control. The caption is centered horizontally and vertically on top of the picture. |
Remarks
The picture and the caption, as a unit, are centered on the control. If no caption exists, the picture's location is relative to the center of the control.
This property is ignored if the Picture property does not specify a picture.
See also
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.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기