IFormattedLine.SetLineTransform Method
Sets the line transform used to format the text in this formatted text line.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Декларация
Sub SetLineTransform ( _
transform As LineTransform _
)
void SetLineTransform(
LineTransform transform
)
void SetLineTransform(
LineTransform transform
)
abstract SetLineTransform :
transform:LineTransform -> unit
function SetLineTransform(
transform : LineTransform
)
Parameters
- transform
Type: Microsoft.VisualStudio.Text.Formatting.LineTransform
The line transform for this formatted text line.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | This IWpfTextViewLine has been disposed. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.