Partager via


Méthode ReportSize.FromPixels

Returns 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

Valeur de retour

Type : Microsoft.ReportingServices.RdlObjectModel.ReportSize
A ReportSize object.

Voir aussi

Référence

ReportSize Structure

Espace de noms Microsoft.ReportingServices.RdlObjectModel