ITextRangeProvider.ExpandToEnclosingUnit(TextUnit) Method

Definition

Expands the text range to the specified text unit.

public:
 void ExpandToEnclosingUnit(TextUnit unit);
void ExpandToEnclosingUnit(TextUnit const& unit);
public void ExpandToEnclosingUnit(TextUnit unit);
function expandToEnclosingUnit(unit)
Public Sub ExpandToEnclosingUnit (unit As TextUnit)

Parameters

unit
TextUnit

The text measure unit.

Applies to