Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win.DPISupporting Namespace / MultiScalingBitmapManager Class / MultiScalingBitmapManager Constructor / MultiScalingBitmapManager Constructor(String,Boolean)
The original path (1x version) of specifed Image resource in the filesystem.
Indicates if we should preload the existing supporting DPI scaling versions of the Bitmap into the manager.


In This Topic
    MultiScalingBitmapManager Constructor(String,Boolean)
    In This Topic
    Initializes the MultiScalingBitmapManager object. The manager would create the getting request Bitmap by scaling from the existing supporting DPI scaling versions of the Bitmap.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal resourcePath As String, _
       ByVal preloadExistingBitmap As Boolean _
    )
    'Usage
     
    
    Dim resourcePath As String
    Dim preloadExistingBitmap As Boolean
     
    Dim instance As New MultiScalingBitmapManager(resourcePath, preloadExistingBitmap)
    public MultiScalingBitmapManager( 
       string resourcePath,
       bool preloadExistingBitmap
    )

    Parameters

    resourcePath
    The original path (1x version) of specifed Image resource in the filesystem.
    preloadExistingBitmap
    Indicates if we should preload the existing supporting DPI scaling versions of the Bitmap into the manager.
    See Also