Condividi tramite


TextFormattingRunProperties.SameSize Method

Determines whether font sizes for two TextFormattingRunProperties objects are the same.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Public Function SameSize ( _
    other As TextFormattingRunProperties _
) As Boolean
public bool SameSize(
    TextFormattingRunProperties other
)
public:
bool SameSize(
    TextFormattingRunProperties^ other
)
member SameSize : 
        other:TextFormattingRunProperties -> bool
public function SameSize(
    other : TextFormattingRunProperties
) : boolean

Parameters

Return Value

Type: Boolean
true if the sizes are the same, false if they are not.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace