name Property

Summary

Optional name of the document.

Syntax
TypeScript
JavaScript
Object.defineProperty(LoadDocumentOptions.prototype, 'name', 
   get: function(), 
   set: function(value) 
) 
name: string; 

Property Value

The optional name of the document.

Remarks

Name is not used in any special way by the Document library. This can be set to any value to indicate for example a database field or friendly name of this document.

This value is set to Name when the document is loaded successfully.

If this value is null, then Name will be set from the file name with extension of the original document file name or URL.

Example

For an example, refer to DocumentFactory.LoadFromUri.

Requirements

Target Platforms

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

Leadtools.Document Assembly