AddToDirectory(DicomImage,String,String,Int16) Method
Simplified DICOMDIR creation with specified Image, Path, TransferSyntax and
IconSize
'Declaration
Public Overloads Function AddToDirectory( _
ByVal As DicomImage, _
ByVal As System.String, _
ByVal As System.String, _
ByVal As System.Short _
) As DicomDataSetCollection
'Usage
Dim instance As DicomDataSet
Dim Image As DicomImage
Dim Path As System.String
Dim TransferSyntax As System.String
Dim IconSize As System.Short
Dim value As DicomDataSetCollection
value = instance.AddToDirectory(Image, Path, TransferSyntax, IconSize)
Parameters
- Image
Image from which to extract demographics, and (optionally) create an icon
- Path
The path is relative to where the DICOMDIR is to be written, and must conform to ISO9660/DICOM rules, and therefore be composed to up to 6 elements, each no more than 8 characters, with no extensions, separated by backslashes.
- TransferSyntax
The format with which the image is to be written to disk
- IconSize
The size of the icon image to be included in the DICOMDIR � use 0 for no icon
Return Value
Target Platforms: .NET CLR 4.8 or higher