Native
Synchronous
No Custom Parameters
AddStandardRegion adds an image of a specific size and location to the image canvas.
The AddStandardRegion action lets a developer add an image to an ImageBuilder type. As with all regions, this region will cover any previously added regions in the same area and can be covered by subsequent regions that occupy the same location as this region.
Region width and height are determined as follows: if Width is specified, then it will be used as the width of the image. If Right and Left are both specified and Width is not, then the Width is computed as the difference of Right and Left. The height of the image is similiar: if Height is specified, then it will be used as the height of the image. If Bottom and Top are both specified and Height is not, then the Height is computed as the difference of Bottom and Top.
None.
| Parameter Name | .NET Type | Default | Description |
|---|---|---|---|
| Location * | System.String | The location of the image. This can be a local filepath or an HTTP URL. The image can be PNG, BMP, or JPEG. | |
| Top | System.Int32 | The location of the top side of the image region on the ImageBuilder canvas. This does not have to be specified if Bottom and Height are specified. | |
| Left | System.Int32 | The location of the left side of the image region on the ImageBuilder canvas. This does not have to be specified if Right and Width are specified. | |
| Right | System.Int32 | The location of the right side of the image region on the ImageBuilder canvas. This number is specified relative to the right edge of the canvas. This does not have to be specified if Left and Width are specified. | |
| Bottom | System.Int32 | The location of the bottom side of the image region on the ImageBuilder canvas. This number is specified relative to the bottom edge of the canvas. This does not have to be specified if Top and Width are specified. | |
| Width | System.Int32 | The width of the image region on the ImageBuilder canvas. This does not have to be specified if Left and Right are specified. | |
| Height | System.Int32 | The height of the image region on the ImageBuilder canvas. This does not have to be specified if Top and Bottom are specified. |
| Parameter Name | .NET Type | Description |
|---|---|---|
| Image | Metreos.Utilities.StandardImageRegion | A standard image region which the ImageBuilder type will append to itself using the specified image properties. |
Branch Conditions
No description.
No description.