'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.