DicomObjects.NET.V8
DicomObjects Namespace / DicomViewer Class / ViewerMode Property



In This Topic
    ViewerMode Property
    In This Topic
    The rendering mode to use for this viewer
    Syntax
    'Declaration
     
    Public Property ViewerMode As ViewerMode
    'Usage
     
    Dim instance As DicomViewer
    Dim value As ViewerMode
     
    instance.ViewerMode = value
     
    value = instance.ViewerMode
    public ViewerMode ViewerMode {get; set;}
    public:
    property ViewerMode ViewerMode {
       ViewerMode get();
       void set (    ViewerMode value);
    }
    Remarks

    Version 8 of DicomObjects uses DirectX rendering by default (version 11.1), which is massively faster and more flexible than GDI+ rendering, but it is possible that some very old hardware might not support DirectX, so GDI mode is maintained as a fallback.

    For testing and debugging purposes, this value can be over-ridden at run-time by the "ForceDirectX or ForceGdi "registry" Word values by setting the required value to 1.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also