DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomDataSet Class / AddToDirectory Method

Image from which to extract demographics, and (optionally) create an icon

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 8 elements, each no more than 8 characters, with no extensions, separated by backslashes.

The format with which the image is to be written to disk




In This Topic
    AddToDirectory Method
    In This Topic
    Simplified DICOMDIR creation with specified Image, Path, TransferSyntax
    Syntax
    'Declaration
     
    
    Public Function AddToDirectory( _
       ByVal Image As DicomDataSet, _
       ByVal Path As String, _
       ByVal TransferSyntax As String _
    ) As DicomDataSetCollection
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim Image As DicomDataSet
    Dim Path As String
    Dim TransferSyntax As String
    Dim value As DicomDataSetCollection
     
    value = instance.AddToDirectory(Image, Path, TransferSyntax)

    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 8 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

    Return Value

    DicomDataSetCollection
    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