Returns a ReportSize by specifying pixels.
네임스페이스: 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
The number of pixels.
- type
유형: Microsoft.ReportingServices.RdlObjectModel.SizeTypes
The unit of the size.
반환 값
유형: Microsoft.ReportingServices.RdlObjectModel.ReportSize
A ReportSize object.