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