LTHelper Class Members

Summary

The following tables list the members exposed by LTHelper.

Public Methods

Name Description
addClass Adds the specified class string to the HTML or SVG element's current class list.
base64Decode Decodes a Base 64 encoded string and returns the result as a byte array.
base64DecodeToArrayBuffer Decodes a Base 64 encoded string and returns the result as an array buffer.
base64DecodeToByteArray Decodes a Base 64 encoded string and returns the result as a byte array.
base64Encode Encodes a byte array as Base 64 and returns the result.
base64EncodeFromArrayBuffer Encodes an array buffer as Base 64 and returns the result.
ensureUsableCanvas Helper method to ensure that a canvas of a given size is usable.
hasClass Checks an HTML or SVG element for the given class string.
loadJS Helper method to dynamically load a JS file and add it to the script section of the current document.
removeClass Removes the specified class string from the HTML or SVG element's current class list.
removeJS Helper method to dynamically remove a JS file previously loaded from the script section of the current document.

Public Fields

Name Description
browser Gets or sets the current browser.
device Gets or sets the current device.
licenseDirectory The server directory path where LEADTOOLS looks for the license file.
msPointerEnabled Gets or sets a value indicating whether the current browser supports the Windows 8 style touch input.
OS Gets or sets the current operating system.
supportsAnimationFrame Gets or sets a value indicating whether the current browser supports the HTML 5 animation frame.
supportsCanvas Gets or sets a value indicating whether the current browser supports HTML 5 Canvas element.
supportsCSSTransitions Gets or sets a value indicating whether the current browser supports CSS3 Transitions, either through the normal transitionrule or a vendor prefix such as webkitTransition/webkit-transition.
supportsFileReader Gets or sets a value indicating whether the current browser supports the File/FileReader API, including the File, FileReader, URL, and Blob objects.
supportsHTMLPointerEvents Gets or sets a value indicating whether the current browser supports the CSS rule pointer-events for HTML elements.
supportsMouse Gets or sets a value indicating whether the current browser supports mouse input.
supportsMultiTouch Gets or sets a value indicating whether the current browser supports multi-touch input.
supportsScroll Gets or sets a value indicating whether the current browser supports scrollbars.
supportsTouch Gets or sets a value indicating whether the current browser supports touch input.
supportsTransform Gets or sets a value indicating whether the current browser supports HTML transformation.
supportsTypedArray Gets or sets a value indicating whether the current browser supports HTML typed arrays.
supportsWebGL Gets or sets a value indicating whether the current browser supports WebGL.
supportsWebWorker Gets or sets a value indicating whether the current browser supports HTML 5 Web Workers.
vendor Gets or sets the current browser vendor.
version Gets or sets the current browser version.
See Also

Reference

LTHelper Class

Leadtools Namespace

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize