Méthode FromPixels
Return a ReportSize by specifying pixels.
Espace de noms : Microsoft.ReportingServices.RdlObjectModel
Assembly : Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)
Syntaxe
'Déclaration
Public Shared Function FromPixels ( _
pixels As Double, _
type As SizeTypes _
) As ReportSize
'Utilisation
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
Paramètres
- pixels
Type : System. . :: . .Double
The number of pixels.
- type
Type : Microsoft.ReportingServices.RdlObjectModel. . :: . .SizeTypes
The unit of the size.
Valeur de retour
Type : Microsoft.ReportingServices.RdlObjectModel. . :: . .ReportSize
A ReportSize object.