TX Text Control .NET Documentation

TXTextControl.Selection Object

Describes and handles the position and length of a text selection. It also provides the possibility to replace the currently selected text with text in a certain document format.

Introduced: 24.0.


    getBounds: <function>,
    setBounds: <function>,
    load: <function>,
    save: <function>,
    getCulture: <function>,
    setCulture: <function>


getBoundsTakes a callback function with one parameter as a parameter.
getCultureTakes a callback function as a parameter which is called with a languagecode2-country/regioncode2 string ("de-DE", "en-US" or "en", for example) as a parameter upon receiving the selection information from the server.
loadFor a detailed description of this function see loadSelection.
saveFor a detailed description of this function see saveSelection.
setBoundsSets the selection start and length.
setCultureSets the selection culture.

See Also

Call us: +1 704-544-7445 (United States)





Buy Now

About Text Control

Founded in 1991, Text Control is an award-winning Visual Studio Industry Partner and leading vendor of word processing and reporting components for Microsoft development technologies. The products help thousands of developers add comprehensive word processing functionality to their applications. Text Control is 100% self-owned and independent of all investor decisions. Customers benefit from these years of experience, large user-base, and at the same time, appreciate developing with a mature, reliable product.

SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100Visual Studio 2015 Launch PartnerVisual Studio 2013 Launch PartnerVisual Studio 2012 Launch PartnerVisual Studio Partner