Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Windows
UI
Text
ITextDocument
Interface ITextDocument
Index
Properties
caretType
defaultTabStop
selection
undoLimit
Methods
applyDisplayUpdates
batchDisplayUpdates
beginUndoGroup
canCopy
canPaste
canRedo
canUndo
endUndoGroup
getDefaultCharacterFormat
getDefaultParagraphFormat
getRange
getRangeFromPoint
getText
loadFromStream
redo
saveToStream
setDefaultCharacterFormat
setDefaultParagraphFormat
setText
undo
Properties
public
caretType
:
CaretType
public
defaultTabStop
:
number
public
selection
:
ITextSelection
public
undoLimit
:
number
Methods
public
applyDisplayUpdates
(
)
:
number
Returns
number
public
batchDisplayUpdates
(
)
:
number
Returns
number
public
beginUndoGroup
(
)
public
canCopy
(
)
:
boolean
Returns
boolean
public
canPaste
(
)
:
boolean
Returns
boolean
public
canRedo
(
)
:
boolean
Returns
boolean
public
canUndo
(
)
:
boolean
Returns
boolean
public
endUndoGroup
(
)
public
getDefaultCharacterFormat
(
)
:
ITextCharacterFormat
Returns
ITextCharacterFormat
public
getDefaultParagraphFormat
(
)
:
ITextParagraphFormat
Returns
ITextParagraphFormat
public
getRange
(
startPosition
:
number
, endPosition
:
number
)
:
ITextRange
Parameters
startPosition:
number
endPosition:
number
Returns
ITextRange
public
getRangeFromPoint
(
point
:
Point
, options
:
PointOptions
)
:
ITextRange
Parameters
point:
Point
options:
PointOptions
Returns
ITextRange
public
getText
(
options
:
TextGetOptions
)
:
string
Parameters
options:
TextGetOptions
Returns
string
public
loadFromStream
(
options
:
TextSetOptions
, value
:
IRandomAccessStream
)
Parameters
options:
TextSetOptions
value:
IRandomAccessStream
public
redo
(
)
public
saveToStream
(
options
:
TextGetOptions
, value
:
IRandomAccessStream
)
Parameters
options:
TextGetOptions
value:
IRandomAccessStream
public
setDefaultCharacterFormat
(
value
:
ITextCharacterFormat
)
Parameters
value:
ITextCharacterFormat
public
setDefaultParagraphFormat
(
value
:
ITextParagraphFormat
)
Parameters
value:
ITextParagraphFormat
public
setText
(
options
:
TextSetOptions
, value
:
string
)
Parameters
options:
TextSetOptions
value:
string
public
undo
(
)
Globals
Windows
Windows.ApplicationModel
Windows.ApplicationModel.Activation
Windows.ApplicationModel.Background
Windows.ApplicationModel.Contacts
Windows.ApplicationModel.Contacts.Provider
Windows.ApplicationModel.Core
Windows.ApplicationModel.DataTransfer
Windows.ApplicationModel.DataTransfer.ShareTarget
Windows.ApplicationModel.Resources
Windows.ApplicationModel.Resources.Core
Windows.ApplicationModel.Resources.Management
Windows.ApplicationModel.Search
Windows.ApplicationModel.Store
Windows.Data
Windows.Data.Html
Windows.Data.Json
Windows.Data.Xml
Windows.Data.Xml.Dom
Windows.Data.Xml.Xsl
Windows.Devices
Windows.Devices.Enumeration
Windows.Devices.Enumeration.Pnp
Windows.Devices.Geolocation
Windows.Devices.Input
Windows.Devices.Portable
Windows.Devices.Printers
Windows.Devices.Printers.Extensions
Windows.Devices.Sensors
Windows.Devices.Sms
Windows.Foundation
Windows.Foundation.Collections
Windows.Foundation.Diagnostics
Windows.Foundation.Metadata
Windows.Globalization
Windows.Globalization.Collation
Windows.Globalization.DateTimeFormatting
Windows.Globalization.Fonts
Windows.Globalization.NumberFormatting
Windows.Graphics
Windows.Graphics.Display
Windows.Graphics.Imaging
Windows.Graphics.Printing
Windows.Graphics.Printing.OptionDetails
Windows.Management
Windows.Management.Core
Windows.Management.Deployment
Windows.Media
Windows.Media.Capture
Windows.Media.Devices
Windows.Media.MediaProperties
Windows.Media.PlayTo
Windows.Media.Playlists
Windows.Media.Protection
Windows.Media.Transcoding
Windows.Networking
Windows.Networking.BackgroundTransfer
Windows.Networking.Connectivity
Windows.Networking.NetworkOperators
Windows.Networking.Proximity
Windows.Networking.PushNotifications
Windows.Networking.Sockets
Windows.Security
Windows.Security.Authentication
Windows.Security.Authentication.OnlineId
Windows.Security.Authentication.Web
Windows.Security.Credentials
Windows.Security.Credentials.UI
Windows.Security.Cryptography
Windows.Security.Cryptography.Certificates
Windows.Security.Cryptography.Core
Windows.Security.Cryptography.DataProtection
Windows.Security.ExchangeActiveSyncProvisioning
Windows.Storage
Windows.Storage.AccessCache
Windows.Storage.BulkAccess
Windows.Storage.Compression
Windows.Storage.FileProperties
Windows.Storage.Pickers
Windows.Storage.Pickers.Provider
Windows.Storage.Provider
Windows.Storage.Search
Windows.Storage.Streams
Windows.System
Windows.System.Display
Windows.System.Profile
Windows.System.RemoteDesktop
Windows.System.Threading
Windows.System.Threading.Core
Windows.System.UserProfile
Windows.UI
Windows.UI.ApplicationSettings
Windows.UI.Core
Windows.UI.Core.AnimationMetrics
Windows.UI.Input
Windows.UI.Input.Inking
Windows.UI.Notifications
Windows.UI.Popups
Windows.UI.StartScreen
Windows.UI.Text
Windows.UI.ViewManagement
Windows.UI.WebUI
Windows.Web
Windows.Web.AtomPub
Windows.Web.Syndication
CaretType
FindOptions
FontStretch
FontStyle
FormatEffect
HorizontalCharacterAlignment
LetterCase
LineSpacingRule
LinkType
MarkerAlignment
MarkerStyle
MarkerType
ParagraphAlignment
ParagraphStyle
PointOptions
RangeGravity
SelectionOptions
SelectionType
TabAlignment
TabLeader
TextGetOptions
TextRangeUnit
TextScript
TextSetOptions
UnderlineType
VerticalCharacterAlignment
FontWeight
IFontWeights
IFontWeightsStatics
ITextCharacterFormat
ITextConstantsStatics
ITextDocument
caretType
defaultTabStop
selection
undoLimit
applyDisplayUpdates
batchDisplayUpdates
beginUndoGroup
canCopy
canPaste
canRedo
canUndo
endUndoGroup
getDefaultCharacterFormat
getDefaultParagraphFormat
getRange
getRangeFromPoint
getText
loadFromStream
redo
saveToStream
setDefaultCharacterFormat
setDefaultParagraphFormat
setText
undo
ITextParagraphFormat
ITextRange
ITextSelection
FontWeights
TextConstants