ClearImage COM API
pScaleThreshold Property
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
Remarks
The default value is 50.
Example
Sub ScaleImage(imageFile As String, imageFileOut As String)
    ' Create objects and open input images
  Dim Ci As New CiServer
  Dim Tools As CiTools: Set Tools = Ci.CreateTools
  Tools.Image.Open imageFile
    ' Do processing
  Tools.ScaleImage 0.5, 0.5
    ' Save results
  Tools.Image.SaveAs imageFileOut, ciEXT
End Sub
See Also

CiTools Object  | CiTools Members  | ScaleImage  | pScaleType  | pScaleThreshold