Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win.DPISupporting Namespace / MultiScalingBitmapManager Class / GetBitmap Method / GetBitmap(Single,IBitmapProcessing,IBitmapProcessing) Method
The scale factor of the result Bitmap.
The Bitmap processing that would manipulate the Bitmap before scaling.
The Bitmap processing that would manipulate the Bitmap after scaling.


In This Topic
    GetBitmap(Single,IBitmapProcessing,IBitmapProcessing) Method
    In This Topic
    Get the specified scaled Bitmap of the Bitmap resource. The result Bitmap is scaled from nearest existing higher resolution version in the specified scale versions of the Bitmap resource. If there isn't any existing higher resolution version, the result Bitmap is scaled from nearest existing lower resolution version in the specified scale versions of the Bitmap resource.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetBitmap( _
       ByVal scaleFactor As Single, _
       ByVal prescaleProcessing As IBitmapProcessing, _
       ByVal postscaleProcessing As IBitmapProcessing _
    ) As Bitmap
    'Usage
     
    
    Dim instance As MultiScalingBitmapManager
    Dim scaleFactor As Single
    Dim prescaleProcessing As IBitmapProcessing
    Dim postscaleProcessing As IBitmapProcessing
    Dim value As Bitmap
     
    value = instance.GetBitmap(scaleFactor, prescaleProcessing, postscaleProcessing)

    Parameters

    scaleFactor
    The scale factor of the result Bitmap.
    prescaleProcessing
    The Bitmap processing that would manipulate the Bitmap before scaling.
    postscaleProcessing
    The Bitmap processing that would manipulate the Bitmap after scaling.

    Return Value

    The scaled Bitmap.
    See Also