TXTextControl.StreamType Object Determines a certain text format. Syntax [JavaScript] { HTMLFormat: 0x0004, RichTextFormat: 0x0008, PlainText: 0x0010, InternalUnicodeFormat: 0x0020, MSWord: 0x0040, AdobePDF: 0x0200, WordprocessingML: 0x0400 } Properties Property Description AdobePDF Specifies…
TXTextControl.MergeFieldTextFormat Object Determines the possible text formats for merge fields containing text. Syntax [JavaScript] { None: 0, Uppercase: 1, Lowercase: 2, FirstCapital: 3, TitleCase: 4, } Properties Property Description FirstCapital The first character is displayed in uppercase.…
successfully. Example The following example shows how to save the current document and display the received document data in the console. [JavaScript] TXTextControlWeb.saveDocument(TXTextControl.StreamType.HTMLFormat, function (e) { console.log(e.data); }); Possible console output: [...]
TXTextControl.DateField Object Represents an MS Word specific DATEFIELD field. Is used as a parameter for the addMergeField method. Syntax [JavaScript] { format: , preserveFormatting: } Properties Property Description format Specifies the format of the field. preserveFormatting Specifies…
TXTextControl.TextPastedEventArgs Object The event argument object for the textPasted event. Introduced: 23.0. Syntax [JavaScript] { text: , textType: , // "text/html", "text/rtf", "text/plain" cancel: } Properties Property Description cancel Set this property to true to cancel the
TXTextControl.RibbonPermissionsTab Object The type of the ribbonPermissionsTab property. The RibbonPermissionsTab object provides properties which can be used to configure the beahviour of the "Permissions" ribbon tab. Syntax [JavaScript] { allowAdditionalUserNames: , registeredUserNames: }…
TXTextControl.Point Object Represents a pair of x- and y-coordinates that defines a point in a two-dimensional plane. Syntax [JavaScript] { x: , y: , } Properties Property Description x The x-coordinate of the point. y The y-coordinate
TXTextControl.SpecialZoomFactor Object Determines the special zoom factor values for property TXTextControl.zoomFactor. Syntax [JavaScript] { PageWidth: -1, WholePage: -2, TextWidth: -3, } Properties Property Description PageWidth The zoom factor is calculated so that the complete width of a…
+1 704-544-7445 (United States)
+1 855-533-8398 (United States, toll free)
Or send us an email: