ClearImage COM Server
ScaleImage Method
See Also  Example  Send Feedback
ScaleX
ScaleY
CiTools Object : ScaleImage Method

Description

Scale image

Syntax

Visual Basic
Public Sub ScaleImage( _
   ByVal ScaleX As Double, _
   ByVal ScaleY As Double _
) 

Parameters

ScaleX
ScaleY

Remarks

!MISSING PHRASE '_ZONEFAIL'!

Example

VB Example (Visual Basic)Copy Code
Public Sub T_ScaleImage(ByRef Tools As CiTools)
  If (Tools.Image.IsZone) Then
    Debug.Print "Scale can not be applied to zone"
  Else
    Tools.pScaleType = ciScaleThreshold
    Tools.pScaleThreshold = 50
    Tools.ScaleImage 0.5, 0.5
  End If
End Sub

See Also

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