Metoda ReportSize.FromPixels
Zwraca ReportSize określając pikseli.
Przestrzeń nazw: Microsoft.ReportingServices.RdlObjectModel
Zestaw: Microsoft.ReportingServices.Designer.Controls (w Microsoft.ReportingServices.Designer.Controls.dll)
Składnia
'Deklaracja
Public Shared Function FromPixels ( _
pixels As Double, _
type As SizeTypes _
) As ReportSize
'Użycie
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
Parametry
- pixels
Typ: System.Double
Liczba pikseli.
- type
Typ: Microsoft.ReportingServices.RdlObjectModel.SizeTypes
Jednostka rozmiaru.
Wartość zwracana
Typ: Microsoft.ReportingServices.RdlObjectModel.ReportSize
A ReportSize obiektu.
Zobacz także