register(options) Method

Summary

Attempts to load a file from a Blob or File object.

Syntax

TypeScript
JavaScript
register = function(options) 
register(options: RegisterOptions): void; 

Parameters

options

The RegisterOptions to use when creating the registry entry.

Remarks

At least one of the following must be provided in the RegisterOptions - the mimetypes property, or default. If this is not true, an Error will be thrown.

Example

For an example, refer to ContentManager.

Requirements

Target Platforms

See Also

ContentRegistry Members

Leadtools.ContentManager Namespace

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

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