Sdílet prostřednictvím


ReportSize.FromPixels Method

Returns a ReportSize by specifying pixels.

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

Syntax

'Declaration
Public Shared Function FromPixels ( _
    pixels As Double, _
    type As SizeTypes _
) As ReportSize
'Usage
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

Parameters

Return Value

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

See Also

Reference

ReportSize Structure

Microsoft.ReportingServices.RdlObjectModel Namespace