ReportSize.Subtraction Operator
Subtract the second size from the first size.
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Syntax
'Declaration
Public Shared Operator - ( _
size1 As ReportSize, _
size2 As ReportSize _
) As ReportSize
'Usage
Dim size1 As ReportSize
Dim size2 As ReportSize
Dim returnValue As ReportSize
returnValue = (size1 - size2)
public static ReportSize operator -(
ReportSize size1,
ReportSize size2
)
public:
static ReportSize operator -(
ReportSize size1,
ReportSize size2
)
static let inline(-)
size1:ReportSize *
size2:ReportSize : ReportSize
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- size1
Type: Microsoft.ReportingServices.RdlObjectModel.ReportSize
The first ReportSize.
- size2
Type: Microsoft.ReportingServices.RdlObjectModel.ReportSize
The second ReportSize.
Return Value
Type: Microsoft.ReportingServices.RdlObjectModel.ReportSize
A ReportSize object.