ClearImage COM Server
pScaleThreshold Property
See Also  Example  Send Feedback
CiTools Object : pScaleThreshold Property

Description

Threshold for ciScaleThreshold-type scaling. Range 0-100

Property type

Read-write property

Syntax

Visual Basic
Public Property pScaleThreshold As Long

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.