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


Valid range 0 to 255Contrast of image scaled down to Windows Bitmap. Range 0-255

Property type

Read-write property


Visual Basic
Public Property pScaleBmpContrast As Long


VB Example (Visual Basic)Copy Code
Public Sub T_ScaleToDIB(ByRef Tools As CiTools)
  Dim hDib
  Tools.pScaleBmpType = ciScaleBestQuality
  Tools.pScaleBmpBrightness = 100
  Tools.pScaleBmpContrast = 200
  hDib = Img.ScaleToDIB(0.5, 0.5)
    ' Copy result to clipboard
  OpenClipboard (0&):  EmptyClipboard
  SetClipboardData CF_DIB, hDib
End Sub

See Also

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