Transpose Method
Syntax
CWIMAQVision.Transpose SourceImage, DestImage
Return Type
On success, this method returns 0. On failure, this method returns a negative number.
Purpose
Transposes an image.
Remarks
Use this method with all image types.
Parameters
SourceImage As CWIMAQImage
The image to transpose.
DestImage As CWIMAQImage
The destination image.
Example
Private Sub Run_Click() Dim i As New CWIMAQImage ' Transpose the image in Viewer1 and ' store the result in i. CWIMAQVision1.Transpose CWIMAQViewer1.Image, i ' Transpose the image in Viewer1. ' Do the operation in-place. CWIMAQVision1.Transpose CWIMAQViewer1.Image, CWIMAQViewer1.Image End Sub