Leadtools.Medical.Workstation.DataAccessLayer Namespace > WorkstationDataAccessAgent Class > StoreVolume Method : StoreVolume(String,List<Byte[]>,List<Byte[]>,String,String) Method |
public virtual VolumeIdentifier StoreVolume( string seriesInstanceUID, List<byte[]> volumeData, List<byte[]> volumeState, string storageDirectory, string userIdentifier )
'Declaration Public Overloads Overridable Function StoreVolume( _ ByVal seriesInstanceUID As String, _ ByVal volumeData As List(Of Byte()), _ ByVal volumeState As List(Of Byte()), _ ByVal storageDirectory As String, _ ByVal userIdentifier As String _ ) As VolumeIdentifier
'Usage Dim instance As WorkstationDataAccessAgent Dim seriesInstanceUID As String Dim volumeData As List(Of Byte()) Dim volumeState As List(Of Byte()) Dim storageDirectory As String Dim userIdentifier As String Dim value As VolumeIdentifier value = instance.StoreVolume(seriesInstanceUID, volumeData, volumeState, storageDirectory, userIdentifier)
public virtual VolumeIdentifier StoreVolume( string seriesInstanceUID, List<byte[]> volumeData, List<byte[]> volumeState, string storageDirectory, string userIdentifier )
function Leadtools.Medical.Workstation.DataAccessLayer.WorkstationDataAccessAgent.StoreVolume(String,List{Byte[]},List{Byte[]},String,String)( seriesInstanceUID , volumeData , volumeState , storageDirectory , userIdentifier )
public: virtual VolumeIdentifier* StoreVolume( string* seriesInstanceUID, List<byte[]>* volumeData, List<byte[]>* volumeState, string* storageDirectory, string* userIdentifier )
public: virtual VolumeIdentifier* StoreVolume( string* seriesInstanceUID, List<byte[]>* volumeData, List<byte[]>* volumeState, string* storageDirectory, string* userIdentifier )
Since the 3D volume data might be huge the data is sent as chunks of bytes in the volumeData list, this way there is no need to allocate a huge consecutive memory and the chunks could be of any size.
To specify where the volume should be stored use the overloaded method of this function that accepts a storage directory.
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