ClearImage COM Server
Copy Method
See Also  Example  Send Feedback
ImageFrom
CiImage Object : Copy Method

Description

Copy image to another image

Syntax

Visual Basic
Public Sub Copy( _
   ByVal ImageFrom As CiImage _
) 

Parameters

ImageFrom

Remarks

!MISSING PHRASE '_ZONEFAIL_IMG'!

Example

VB Example (Visual Basic)Copy Code
Public Sub T_ImageMisc(ByRef Img As CiImage)
  Dim Img1 As CiImage, ImgZone As CiImage
    ' Invert test
  Img.Invert
    ' Duplicate test
  Set Img1 = Img.Duplicate
  Set ImgZone = Img1.CreateZone(Img.Width / 3, Img.Height / 3, _
                Img.Width * 2 / 3, Img.Height * 2 / 3)
    ' Clear test
  ImgZone.Clear
    ' Copy Test
  Img.Copy Img1
End Sub

See Also

© 1992-2011. Inlite Research, Inc. All Rights Reserved.