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

Description

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

Property type

Read-write property

Syntax

Visual Basic
Public Property pScaleBmpBrightness As Long

Example

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
  CloseClipboard
End Sub

See Also

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