LTHelper Class Members

Summary

The following tables list the members exposed by LTHelper.

Public Methods

Name Description
Public Method static  | Shared in VB addClass Adds the specified class string to the HTML or SVG element's current class list.
Public Method static  | Shared in VB base64Decode Decodes a Base 64 encoded string and returns the result as a byte array.
Public Method static  | Shared in VB base64DecodeToArrayBuffer Decodes a Base 64 encoded string and returns the result as an array buffer.
Public Method static  | Shared in VB base64DecodeToByteArray Decodes a Base 64 encoded string and returns the result as a byte array.
Public Method static  | Shared in VB base64Encode Encodes a byte array as Base 64 and returns the result.
Public Method static  | Shared in VB base64EncodeFromArrayBuffer Encodes an array buffer as Base 64 and returns the result.
Public Method static  | Shared in VB cancelAnimationFrame Cancels an animation frame, with a fallback for older browsers.
Public Method static  | Shared in VB ensureUsableCanvas Helper method to ensure that a canvas of a given size is usable.
Public Method static  | Shared in VB hasClass Checks an HTML or SVG element for the given class string.
Public Method static  | Shared in VB loadJS Helper method to dynamically load a JS file and add it to the script section of the current document.
Public Method static  | Shared in VB log Logs messages to the console without causing errors on older browsers.
Public Method static  | Shared in VB logError Logs errors to the console without causing errors on older browsers.
Public Method static  | Shared in VB logWarning Logs warnings to the console without causing errors on older browsers.
Public Method static  | Shared in VB newGuid Creates a new GUID.
Public Method static  | Shared in VB removeClass Removes the specified class string from the HTML or SVG element's current class list.
Public Method static  | Shared in VB removeJS Helper method to dynamically remove a JS file previously loaded from the script section of the current document.
Public Method static  | Shared in VB requestAnimationFrame Requests an animation frame, with a fallback for older browsers.

Public Fields

Name Description
Public Field static  | Shared in VB browser Gets or sets the current browser.
Public Field static  | Shared in VB device Gets or sets the current device.
Public Field static  | Shared in VB licenseDirectory The directory path where LEADTOOLS looks for the license file (Deprecated).
Public Field static  | Shared in VB msPointerEnabled Gets or sets a value indicating whether the current browser supports the Windows 8 style touch input.
Public Field static  | Shared in VB OS Gets or sets the current operating system.
Public Field static  | Shared in VB requestCustomHeaders An object to set custom headers to for use when requesting the LEADTOOLS license files.
Public Field static  | Shared in VB supportsAnimationFrame Gets or sets a value indicating whether the current browser supports the HTML 5 animation frame.
Public Field static  | Shared in VB supportsCanvas Gets or sets a value indicating whether the current browser supports HTML 5 Canvas element.
Public Field static  | Shared in VB 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.
Public Field static  | Shared in VB supportsFileReader Gets or sets a value indicating whether the current browser supports the File/FileReader API, including the File, FileReader, URL, and Blob objects.
Public Field static  | Shared in VB supportsHTMLPointerEvents Gets or sets a value indicating whether the current browser supports the CSS rule pointer-events for HTML elements.
Public Field static  | Shared in VB supportsMouse Gets or sets a value indicating whether the current browser supports mouse input.
Public Field static  | Shared in VB supportsMultiTouch Gets or sets a value indicating whether the current browser supports multi-touch input.
Public Field static  | Shared in VB supportsScroll Gets or sets a value indicating whether the current browser supports scrollbars.
Public Field static  | Shared in VB supportsTouch Gets or sets a value indicating whether the current browser supports touch input.
Public Field static  | Shared in VB supportsTransform Gets or sets a value indicating whether the current browser supports HTML transformation.
Public Field static  | Shared in VB supportsTypedArray Gets or sets a value indicating whether the current browser supports HTML typed arrays.
Public Field static  | Shared in VB supportsWebGL Gets or sets a value indicating whether the current browser supports WebGL.
Public Field static  | Shared in VB supportsWebWorker Gets or sets a value indicating whether the current browser supports HTML 5 Web Workers.
Public Field static  | Shared in VB vendor Gets or sets the current browser vendor.
Public Field static  | Shared in VB version Gets or sets the current browser version.

See Also

LTHelper Class

Leadtools Namespace

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.