Members of this enumeration can be assigned to the PicturePos property of a node to specify how the node's picture should be aligned and positioned.
SyntaxVB6
Copy Code
|
|---|
Public Enum EPicturePos |
C++
Copy Code
|
|---|
enum EPicturePos |
Members| Member name | Value | Description | |
|---|---|---|---|
![]() |
picCenter |
0 | Display the picture at the center of the node's bounding rectangle. |
![]() |
picFit |
1 | Resizes the picture so it fills the entire width or height of the node's bounding rectangle without changing the width/height ratio of the picture. |
![]() |
picStretch |
2 | Resizes the picture so it fills the entire bounding rectangle of the node. |
![]() |
picTile |
3 | Tiles the picture across the bounding rectangle of the node. |
![]() |
picTopLeft |
4 | Displays the picture at the top left corner of the bounding rectangle of the node. |
![]() |
picBottomLeft |
5 | Displays the picture at the bottom left corner of the node's bounding rectangle. |
![]() |
picTopRight |
6 | Displays the picture at the top right corner of the bounding rectangle. |
![]() |
picBottomRight |
7 | Displays the picture at the bottom right corner of the bounding rectangle. |
![]() |
picTopCenter |
8 | Centers the picture at the top of the bounding rectangle of the node. |
![]() |
picBottomCenter |
9 | Centers the picture at the bottom of the bounding rectangle of the node. |
![]() |
picCenterLeft |
10 | Centers the picture at the left side of the bounding rectangle of the node. |
![]() |
picCenterRight |
11 | Centers the picture at the right side of the bounding rectangle of the node. |
![]() |
picFitLeft |
12 | The image is resized to fit the size of the object and aligned to left side. |
![]() |
picFitTop |
13 | The image is resized to fit the size of the object and aligned to top side. |
![]() |
picFitRight |
14 | The image is resized to fit the size of the object and aligned to right side. |
![]() |
picFitBottom |
15 | The image is resized to fit the size of the object and aligned to bottom side. |
![]() |
picDocument |
4096 | Can be combined with another member of the enumeration and assigned to the flowchart's PicturePos to specify that the background image should scroll and zoom with the rest of the diagram's contents. |
See Also