Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win.DPISupporting Namespace / MultiScalingBitmapManager Class / MultiScalingBitmapManager Constructor / MultiScalingBitmapManager Constructor(Assembly,String)
The assembly that contain the specified Bitmap resource. If the assembly is null, that mean the specified Bitmap resource is file.
The original path (1x version) of specifed Image resource.


In This Topic
    MultiScalingBitmapManager Constructor(Assembly,String)
    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. The manager would preload the existing supporting DPI scaling versions of the Bitmap into the manager.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal assembly As Assembly, _
       ByVal resourcePath As String _
    )
    'Usage
     
    
    Dim assembly As Assembly
    Dim resourcePath As String
     
    Dim instance As New MultiScalingBitmapManager(assembly, resourcePath)
    public MultiScalingBitmapManager( 
       Assembly assembly,
       string resourcePath
    )

    Parameters

    assembly
    The assembly that contain the specified Bitmap resource. If the assembly is null, that mean the specified Bitmap resource is file.
    resourcePath
    The original path (1x version) of specifed Image resource.
    See Also