DicomObjects Reference
DicomObjects Reference / DicomConnection Object / PreferredPCID Property
In This Topic
    PreferredPCID Property
    In This Topic
    Description
    Preferred presentation context to be used (where possible)
    Property type
    Read-write property
    Syntax
    Visual Basic
    Public Property PreferredPCID As Integer
    Remarks

    Under some circumstances, DicomObjects may have a choice of presentation contexts to use for a given operation, and these properties provide guidance on which of the available options to use.

    DicomObjects cannot, however, guarantee that the values given will be honoured, as the requirements of the standard, and the negotiated presentation contexts available will always take priority.  Note also, that they can only be effective at the application actually carrying out the operation involved, normally the SCP.

    The default values for these parameters are a null string and zero respectively, and these values are taken to mean “no preference”.

    Presentation context will be selected according to the following procedure:

    • If the presentation context given by PreferredPCID is appropriate for the operation, it is used.
    •  If not, and if any presentation context, using the transfer syntax given by PreferredTS is available, then that is used.
    •  If neither of the above applies, then any suitable and negotiated presentation context is used.

    These properties are particularly designed for teleradiology applications, where run-time selection of a compressed syntax may be appropriate.

    For a list of the available presentation contexts, see the Contexts property.

    See Also