MindFusion WinForms Programmer's Guide
Dimension.Subtract Method
See Also
 





Subtracts the width and height of one Dimension structure from the width and height of another Dimensions structure.

Namespace: MindFusion.Reporting
Assembly: MindFusion.Reporting

 Syntax

C#  Copy Code

public static Dimension Subtract (
    Dimension dimension1,
    Dimension dimension2
)

Visual Basic  Copy Code

Public Shared Function Subtract ( _
    dimension1 As Dimension, _
    dimension2 As Dimension _
) As Dimension

 Parameters

dimension1
The Dimension structure on the left side of the subtraction operator.
dimension2
The Dimension structure on the right side of the subtraction operator.

 Return Value

The Dimension that is a result of the subtraction operation. The WidthUnit and HeightUnit of the result are both set to Document.

 See Also

Dimension Members
Dimension Structure
MindFusion.Reporting Namespace