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

Description

Type of image-to-bitmap scale down

Property type

Read-write property

Syntax

Visual Basic
Public Property pScaleBmpType As EScaleBmpType

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.