GrapeCity SPREAD for Windows Forms 11.0J
GetExistingScaleResourceInfos メソッド


指定したリソースを含むアセンブリ。このアセンブリがnullの場合は、指定したリソースがファイルであることを意味します。
指定したリソースのオリジナルパス(1xバージョン)。
要求するスケールバージョンのスケール係数。
要求したスケールバージョンの配列から指定したリソースの既存のスケールバージョンのリストを取得します。
構文
'Declaration
 
Public Shared Function GetExistingScaleResourceInfos( _
   ByVal assembly As Assembly, _
   ByVal resourcePath As String, _
   ByVal scaleFactors() As Single _
) As List(Of ScaleResourceInfo)
'使用法
 
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
)

パラメータ

assembly
指定したリソースを含むアセンブリ。このアセンブリがnullの場合は、指定したリソースがファイルであることを意味します。
resourcePath
指定したリソースのオリジナルパス(1xバージョン)。
scaleFactors
要求するスケールバージョンのスケール係数。
参照

DPIUtils クラス
DPIUtils メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.