- buffer
- Pointer to a buffer that contains the Data Set to be loaded.
- bufferSize
- Size of the buffer, in bytes.
- flags
- Meta-header flags and Transfer Syntax flags that indicate the Data Set characteristics to use when loading the Data Set.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub Load( _ ByVal buffer As IntPtr, _ ByVal bufferSize As Long, _ ByVal flags As DicomDataSetFlags _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Load( IntPtr buffer, long bufferSize, DicomDataSetFlags flags ) |
C++/CLI | |
---|---|
public: void Load( IntPtr buffer, long bufferSize, DicomDataSetFlags flags ) |
Parameters
- buffer
- Pointer to a buffer that contains the Data Set to be loaded.
- bufferSize
- Size of the buffer, in bytes.
- flags
- Meta-header flags and Transfer Syntax flags that indicate the Data Set characteristics to use when loading the Data Set.
Once you have called Reset, you can repopulate the Data Set by calling Initialize, Load, or Load.
If you know certain characteristics of the Data Set in memory, you can set those in flags. Any characteristic that you do not set will be automatically determined. For example, if you know that the Meta-header is present, but you do not know the byte order, or whether the Value Representation is Implicit or Explicit, you can set only DicomDataSetFlags.MetaHeaderPresent in flags. During loading, LEADTOOLS will determine the byte order and whether the byte order is Implicit or Explicit.
If you do not know any of the characteristics of the Data Set in memory, set flags to DicomDataSetFlags.None and LEADTOOLS will automatically determine all the Data Set characteristics and load the Data Set accordingly.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family