ITextRangeProvider.ExpandToEnclosingUnit(TextUnit) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.