Valid range 0 to 255Brightness of image scaled down to Windows Bitmap. Range 0-255
Read-write property
Visual Basic |
---|
Public Property pScaleBmpBrightness 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 CloseClipboard End Sub |