LineTransform Constructor (Double, Double, Double)
Initializes a new instance of a LineTransform.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- topSpace
-
Type:
System::Double
The amount of space required above the text of the line before applying verticalScale.
- bottomSpace
-
Type:
System::Double
The amount of space required below the text of the line before applying verticalScale.
- verticalScale
-
Type:
System::Double
The vertical scale factor to be applied to the text of the line and the space above and below the line.
All the LineTransform objects on a formatted line of text are combined using the Combine method, and the resulting LineTransform determines the placement and scaling of the rendered line of text. Negative topSpace and bottomSpace values are ignored, since the values are always combined with at least one LineTransform with non-negative space requests. The rendered height of a line is ((line text height) + topSpace + bottomSpace) * verticalScale.