Partilhar via


Método ReportSize.FromPixels

Returns a ReportSize by specifying pixels.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (em Microsoft.ReportingServices.Designer.Controls.dll)

Sintaxe

'Declaração
Public Shared Function FromPixels ( _
    pixels As Double, _
    type As SizeTypes _
) As ReportSize
'Uso
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

Parâmetros

Valor de retorno

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

Consulte também

Referência

ReportSize Estrutura

Namespace Microsoft.ReportingServices.RdlObjectModel