Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win.DPISupporting Namespace / DPIUtils Class / GetExistingScaleResourceInfos Method
The assembly that contain the specified resource. If the assembly is null, that mean the specified resource is file.
The original path (1x version) of specifed resource.
The scale factors of the request scale versions.


In This Topic
    GetExistingScaleResourceInfos Method
    In This Topic
    Get the list of existing scale versions of specified resource from the array of request scale versions.
    Syntax
    'Declaration
     
    
    Public Shared Function GetExistingScaleResourceInfos( _
       ByVal assembly As Assembly, _
       ByVal resourcePath As String, _
       ByVal scaleFactors() As Single _
    ) As List(Of ScaleResourceInfo)
    'Usage
     
    
    Dim assembly As Assembly
    Dim resourcePath As String
    Dim scaleFactors() As Single
    Dim value As List(Of ScaleResourceInfo)
     
    value = DPIUtils.GetExistingScaleResourceInfos(assembly, resourcePath, scaleFactors)
    public static List<ScaleResourceInfo> GetExistingScaleResourceInfos( 
       Assembly assembly,
       string resourcePath,
       float[] scaleFactors
    )

    Parameters

    assembly
    The assembly that contain the specified resource. If the assembly is null, that mean the specified resource is file.
    resourcePath
    The original path (1x version) of specifed resource.
    scaleFactors
    The scale factors of the request scale versions.
    See Also