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
'Declaración
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
- other
Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
The other TextFormattingRunProperties.
Return Value
Type: System.Boolean
true if the sizes are the same, false if they are not.
.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.