←Select platform

UseThreads Property

Summary

Indicates whether to use multiple threads during the conversion.

Syntax
C#
C++/CLI
Java
Python
public bool UseThreads { get; set; } 
public:  
   property bool UseThreads 
   { 
      bool get() 
      void set(bool value) 
   } 
public boolean getUseThreads() 
public void setUseThreads(boolean value) 
UseThreads # get and set (DocumentConverterOptions) 

Property Value

true to use multiple threads during the conversion; otherwise, false. Default value is true.

Remarks

When the value of UseThreads is true, the converter will use multiple thread to speed up the conversion process. The number of threads is determined automatically from the number of CPU cores and current system load.

If OCR conversion is used, then setting UseThreads to true will automatically uses threads inside the OCR engine if needed regardless of the OCR engine settings.

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.