DicomPackage Class

Summary: The Dicom Xmp package.

Module: aspose.imaging.xmp.schemas.dicom

Full Name: aspose.imaging.xmp.schemas.dicom.DicomPackage

Inheritance: IXmlValue, XmpPackage

Constructors

NameDescription
DicomPackage()Initializes a new instance of the DicomPackage class.

Properties

NameTypeAccessDescription
countintrGets the XMP key count.
namespace_uristringrGets the namespace URI.
prefixstringrGets the prefix.
xml_namespacestringrGets the XML namespace.

Methods

NameDescription
add_value(key, value)Adds the value to the specified key.
add_value(key, value)Adds the value to the specified key.
clear()Clears this instance.
contains_key(key)Determines whether this collection specified key.
get_prop_value(key)Gets the object with the specified key.
get_xml_value()Converts XMP value to the XML representation.
remove(key)Remove the value with the specified key.
set_equipment_institution(equipment_institution)Sets the equipment institution.
set_equipment_manufacturer(equipment_manufacturer)Sets the equipment manufacturer.
set_patient_birth_date(patient_birth_date)Sets the patient’s birth date.
set_patient_id(patient_id)Sets the patient’s ID.
set_patient_name(patient_name)Sets the color mode.
set_patient_sex(patient_sex)Sets the patient’s sex.
set_prop_value(key, value)Gets or sets the object with the specified key.
set_series_date_time(series_date_time)Sets the series date time.
set_series_description(series_description)Sets series description.
set_series_modality(series_modality)Sets the document series modality.
set_series_number(series_number)Sets the series number.
set_study_date_time(study_date_time)Sets the study DateTime.
set_study_description(study_description)Sets the study description.
set_study_id(study_id)Sets the study ID.
set_study_physician(study_physician)Sets the study physician.
set_value(key, value)Sets the value.
set_value(key, value)Sets the value.
set_xmp_type_value(key, value)Sets the XMP type value.
try_get_value(key, value)Gets the value by the key.

Constructor: DicomPackage()

 DicomPackage() 

Initializes a new instance of the DicomPackage class.

Method: add_value(key, value)

 add_value(key, value) 

Adds the value to the specified key.

Parameters:

ParameterTypeDescription
keystringThe string representation of key that is identified with added value.
valuestringThe value to add to.

Method: add_value(key, value)

 add_value(key, value) 

Adds the value to the specified key.

Parameters:

ParameterTypeDescription
keystringThe string representation of key that is identified with added value.
valueSystem.ObjectThe value to add to.

Method: contains_key(key)

 contains_key(key) 

Determines whether this collection specified key.

Parameters:

ParameterTypeDescription
keystringThe key to be checked.

Returns

TypeDescription
boolTrue if the contains the specified key; otherwise, False.

Method: get_prop_value(key)

 get_prop_value(key) 

Gets the object with the specified key.

Parameters:

ParameterTypeDescription
keystringThe key that identifies value.

Returns

TypeDescription
System.ObjectReturns the object with the specified key.

Method: get_xml_value()

 get_xml_value() 

Converts XMP value to the XML representation.

Returns

TypeDescription
stringReturns the XMP value converted to the XML representation.

Method: remove(key)

 remove(key) 

Remove the value with the specified key.

Parameters:

ParameterTypeDescription
keystringThe string representation of key that is identified with removed value.

Returns

TypeDescription
boolReturns true if the value with the specified key was removed.

Method: set_equipment_institution(equipment_institution)

 set_equipment_institution(equipment_institution) 

Sets the equipment institution.

Parameters:

ParameterTypeDescription
equipment_institutionstringThe equipment institution.

Method: set_equipment_manufacturer(equipment_manufacturer)

 set_equipment_manufacturer(equipment_manufacturer) 

Sets the equipment manufacturer.

Parameters:

ParameterTypeDescription
equipment_manufacturerstringThe equipment manufacturer.

Method: set_patient_birth_date(patient_birth_date)

 set_patient_birth_date(patient_birth_date) 

Sets the patient’s birth date.

Parameters:

ParameterTypeDescription
patient_birth_datestringThe patient’s birth date.

Method: set_patient_id(patient_id)

 set_patient_id(patient_id) 

Sets the patient’s ID.

Parameters:

ParameterTypeDescription
patient_idstringThe patient’s ID.

Method: set_patient_name(patient_name)

 set_patient_name(patient_name) 

Sets the color mode.

Parameters:

ParameterTypeDescription
patient_namestringThe patient’s name.

Method: set_patient_sex(patient_sex)

 set_patient_sex(patient_sex) 

Sets the patient’s sex.

Parameters:

ParameterTypeDescription
patient_sexstringThe patient’s sex.

Method: set_prop_value(key, value)

 set_prop_value(key, value) 

Gets or sets the object with the specified key.

Parameters:

ParameterTypeDescription
keystringThe key that identifies value.
valueSystem.ObjectThe object with the specified key.

Method: set_series_date_time(series_date_time)

 set_series_date_time(series_date_time) 

Sets the series date time.

Parameters:

ParameterTypeDescription
series_date_timestringThe series date time.

Method: set_series_description(series_description)

 set_series_description(series_description) 

Sets series description.

Parameters:

ParameterTypeDescription
series_descriptionstringThe series description.

Method: set_series_modality(series_modality)

 set_series_modality(series_modality) 

Sets the document series modality.

Parameters:

ParameterTypeDescription
series_modalitystringThe series modality.

Method: set_series_number(series_number)

 set_series_number(series_number) 

Sets the series number.

Parameters:

ParameterTypeDescription
series_numberstringThe series number.

Method: set_study_date_time(study_date_time)

 set_study_date_time(study_date_time) 

Sets the study DateTime.

Parameters:

ParameterTypeDescription
study_date_timestringThe studyDateTime.

Method: set_study_description(study_description)

 set_study_description(study_description) 

Sets the study description.

Parameters:

ParameterTypeDescription
study_descriptionstringThe study description.

Method: set_study_id(study_id)

 set_study_id(study_id) 

Sets the study ID.

Parameters:

ParameterTypeDescription
study_idstringThe study ID.

Method: set_study_physician(study_physician)

 set_study_physician(study_physician) 

Sets the study physician.

Parameters:

ParameterTypeDescription
study_physicianstringThe study physician.

Method: set_value(key, value)

 set_value(key, value) 

Sets the value.

Parameters:

ParameterTypeDescription
keystringThe string representation of key that is identified with added value.
valueIXmlValueThe value to add to.

Method: set_value(key, value)

 set_value(key, value) 

Sets the value.

Parameters:

ParameterTypeDescription
keystringThe string representation of key that is identified with added value.
valueIXmpTypeThe value to add to.

Method: set_xmp_type_value(key, value)

 set_xmp_type_value(key, value) 

Sets the XMP type value.

Parameters:

ParameterTypeDescription
keystringThe string representation of key that is identified with set value.
valueXmpTypeBaseThe value to set to.

Method: try_get_value(key, value)

 try_get_value(key, value) 

Gets the value by the key.

Parameters:

ParameterTypeDescription
keystringThe XMP element key.
valueSystem.ObjectThe XMP value.

Returns

TypeDescription
boolTrue, if the contains the key; otherwise, False.