←Select platform

ValueOffset Property

Summary

Gets the byte offset of the value of the element

Syntax

C#
VB
WinRT C#
C++
public long ValueOffset { get; } 
Public ReadOnly Property ValueOffset As Long 
public long ValueOffset {get;} 
 get_ValueOffset();  
public: 
property int64 ValueOffset { 
   int64 get(); 
} 

Property Value

The byte offset of the value of the element

Remarks

Depending on the transfer syntax and value representation, a DICOM Element is stored in a file as one of the following

  • Tag(4 bytes), VR(4 bytes), Value Length (4 bytes), Value
  • Tag(4 bytes), VR(2 bytes), Value Length (2 bytes), Value
  • Tag(4 bytes), Value Length (4 bytes), Value

The ValueOffset property returns the byte offset for the Value DicomElement in the file. If you seek to this offset in the DICOM file, the next ValueLength bytes will be the value of the DICOM element.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly