ITextRange
Character
CharacterFormat
EndPosition
FormattedText
Gravity
Length
Link
ParagraphFormat
StartPosition
StoryLength
Text
CanPaste(Int32)
ChangeCase(LetterCase)
Collapse(Boolean)
Copy()
Cut()
Delete(TextRangeUnit, Int32)
EndOf(TextRangeUnit, Boolean)
Expand(TextRangeUnit)
FindText(String, Int32, FindOptions)
GetCharacterUtf32(UInt32, Int32)
GetClone()
GetIndex(TextRangeUnit)
GetPoint(HorizontalCharacterAlignment, VerticalCharacterAlignment, PointOptions, Point)
GetRect(PointOptions, Rect, Int32)
GetText(TextGetOptions, String)
GetTextViaStream(TextGetOptions, IRandomAccessStream)
InRange(ITextRange)
InsertImage(Int32, Int32, Int32, VerticalCharacterAlignment, String, IRandomAccessStream)
InStory(ITextRange)
IsEqual(ITextRange)
MatchSelection()
Move(TextRangeUnit, Int32)
MoveEnd(TextRangeUnit, Int32)
MoveStart(TextRangeUnit, Int32)
Paste(Int32)
ScrollIntoView(PointOptions)
SetIndex(TextRangeUnit, Int32, Boolean)
SetPoint(Point, PointOptions, Boolean)
SetRange(Int32, Int32)
SetText(TextSetOptions, String)
SetTextViaStream(TextSetOptions, IRandomAccessStream)
StartOf(TextRangeUnit, Boolean)
net9.0-windows10.0.22621
namespace Microsoft.UI.Text
{
[ContractVersion(typeof(TextApiContract), 65536U)]
[Guid("06D4ABCF-0C06-5D12-A743-85537EFD09EA")]
[WindowsRuntimeHelperType(typeof(ITextRange))]
[WindowsRuntimeType("Microsoft.UI.Text")]
public interface ITextRange
{
void GetTextViaStream(TextGetOptions options, IRandomAccessStream value);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 10.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net9.0-windows10.0.22621 | |
Assemblies | Microsoft.WinUI , Version=3.0.0.0, PublicKeyToken=de31ebe4ad15742b Microsoft.WinUI , Version=3.0.0.0, PublicKeyToken=de31ebe4ad15742b |
Referencing | Your project needs a package reference to |
Package | Microsoft.WindowsAppSDK (1.7.250208002-preview1) net6.0-windows10.0.22621 |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API