←Select platform

DocumentId Property

Summary

The ID of the LEADDocument object to be used as the input of the conversion.

Syntax
C#
C++/CLI
Python
public string DocumentId { get; set; } 
public:  
   property String^ DocumentId 
   { 
      String^ get() 
      void set(String^ value) 
   } 
DocumentId # get and set (DocumentConverterJobData) 

Property Value

The ID of LEADDocument object to be used as the input of the conversion. If this value is not null, then it will be used as the input document for the conversion. The default value is null.

Remarks

One input must be specified for the conversion to be successful: One of InputDocumentFileName, Document or DocumentId must not be null.

If DocumentId is set by the user, then the document converter will use Cache to load the LEADDocument object as is and will dispose it when the conversion is completed.

The converter will use DocumentFactory.LoadFromCache passing Cache and DocumentId as the parameters. Therefore, the ID must point to a valid document in the cache.

Requirements

Target Platforms

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

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