DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomGlobal Class / PreserveDoublePrecision Property



In This Topic
    PreserveDoublePrecision Property
    In This Topic
    Indicates whether double precision should be preserved
    Syntax
    'Declaration
     
    
    Public Shared Property PreserveDoublePrecision As Boolean
    'Usage
     
    
    Dim value As Boolean
     
    DicomGlobal.PreserveDoublePrecision = value
     
    value = DicomGlobal.PreserveDoublePrecision
    public static bool PreserveDoublePrecision {get; set;}
    public:
    static property bool PreserveDoublePrecision {
       bool get();
       void set (    bool value);
    }
    Remarks
    To control floating value precision when adding attributes with double values If set to true and DoublePrecisionDSAttributes is empty, precision will be preserved for all DS attributes. If set to true and DoublePrecisionDSAttributes contains one or more entries, precision will only be preserved for DS attributes listed in DoublePrecisionDSAttributes. If set to false, double precision is not preserved regardless of the contents of DoublePrecisionDSAttributes.
    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