次の方法で共有


ReportSize.FromPixels メソッド

ピクセルを指定することによって、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

パラメーター

戻り値

型: Microsoft.ReportingServices.RdlObjectModel.ReportSize
ReportSize オブジェクト。

関連項目

参照

ReportSize 構造体

Microsoft.ReportingServices.RdlObjectModel 名前空間