←Select platform

Name Property (Document)

Summary

Name of the document.

Syntax

C#
VB
Java
C++
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 Documents 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

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