ReportSize.FromPixels 方法
Return 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.