ClearImage COM Server Send comments on this topic.
pScaleThreshold Property
See Also  Example

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