ReportSize.FromPixels(Double, SizeTypes) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a ReportSize by specifying pixels.
public:
static Microsoft::ReportingServices::RdlObjectModel::ReportSize FromPixels(double pixels, Microsoft::ReportingServices::RdlObjectModel::SizeTypes type);
public static Microsoft.ReportingServices.RdlObjectModel.ReportSize FromPixels (double pixels, Microsoft.ReportingServices.RdlObjectModel.SizeTypes type);
static member FromPixels : double * Microsoft.ReportingServices.RdlObjectModel.SizeTypes -> Microsoft.ReportingServices.RdlObjectModel.ReportSize
Public Shared Function FromPixels (pixels As Double, type As SizeTypes) As ReportSize
Parameters
- pixels
- Double
The number of pixels.
- type
- SizeTypes
The unit of the size.
Returns
A ReportSize object.