LineTransform::Combine Method (LineTransform, LineTransform)
Visual Studio 2015
Combines two LineTransform objects.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
public: static LineTransform Combine( LineTransform transform1, LineTransform transform2 )
Parameters
- transform1
-
Type:
Microsoft.VisualStudio.Text.Formatting::LineTransform
The first LineTransform to combine.
- transform2
-
Type:
Microsoft.VisualStudio.Text.Formatting::LineTransform
The second LineTransform to combine.
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.
Show: