ピクセルを指定することによって、ReportSize を返します。
名前空間: Microsoft.ReportingServices.RdlObjectModel
アセンブリ: Microsoft.ReportingServices.Designer.Controls (Microsoft.ReportingServices.Designer.Controls.dll)
構文
'宣言
Public Shared Function FromPixels ( _
pixels As Double, _
type As SizeTypes _
) As ReportSize
'使用
Dim pixels As Double
Dim type As SizeTypes
Dim returnValue As ReportSize
returnValue = ReportSize.FromPixels(pixels, _
type)
public static ReportSize FromPixels(
double pixels,
SizeTypes type
)
public:
static ReportSize FromPixels(
double pixels,
SizeTypes type
)
static member FromPixels :
pixels:float *
type:SizeTypes -> ReportSize
public static function FromPixels(
pixels : double,
type : SizeTypes
) : ReportSize
パラメーター
- pixels
型: System.Double
ピクセルの数。
- type
型: Microsoft.ReportingServices.RdlObjectModel.SizeTypes
サイズの単位。
戻り値
型: Microsoft.ReportingServices.RdlObjectModel.ReportSize
ReportSize オブジェクト。