←Select platform

Name Property

Summary

Name of the document.

Syntax
C#
VB
C++
Java
public string Name { get; set; } 
Public Property Name() As String 
   Get 
   Set 
public:  
   property String^ Name 
   { 
      String^ get() 
      void set(String^ value) 
   } 
public String getName() 
public void setName(String value) 

Property Value

The 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 LoadDocumentOptions.Name if this document was created using DocumentFactory.LoadFromFile, DocumentFactory.LoadFromUri, DocumentFactory.LoadFromUriAsync or DocumentFactory.LoadFromStream. If this value is null, then Name is the file name with extension of the original document file name or URL (or the value "Stream" if this document was created using a stream).

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

Leadtools.Document Assembly

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