DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomGlobal Class / ThreadCount Property



In This Topic
    ThreadCount Property
    In This Topic
    Controls how many threads may be used by DicomObjects when rendering etc.
    Syntax
    'Declaration
     
    
    Public Shared Property ThreadCount As Integer
    'Usage
     
    
    Dim value As Integer
     
    DicomGlobal.ThreadCount = value
     
    value = DicomGlobal.ThreadCount
    public static int ThreadCount {get; set;}
    public:
    static property int ThreadCount {
       int get();
       void set (    int value);
    }
    Remarks
    The default value is the number of procesors on the system. Setting to 1 disables the multi-threading rendering support.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also