<- Back to CNS Image function list
CNSImage_Reflect
- Description
This function returns a mirror image of the specified image, dependent on the given Direction.
- Return Type
- Container
- Format
- CNSImage_Reflect ( Image ; Direction )
- Required Parameters
- Image
A Container field that contains an Image or a Path and File Name to an Image you want to Reflect.
- Direction
The Direction to Reflect the Image. (Specify X or H for Horizontal, Y or V for Vertical, or B or L for Both Horizontal and Vertical.)
- Image
- Related Items
- CNSImage_Rotate, CNSImage_Transform
- Example
Code:
CNSImage_Reflect( Image;"H")Result:
Reflects the image in the "Image" container field horizontally.