ValueRepresentation
Contents
[
Hide
]ValueRepresentation class
Encapsulates DICOM VR (value representation). https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html
public sealed class ValueRepresentation : IEquatable<ValueRepresentation>, IStructuralEquatable
Properties
| Name | Description |
|---|---|
| ByteSwap { get; } | Number of bytes to swap when changing endian representation of value. Usually equal to the UnitSize. Read-only Int32. |
| Code { get; set; } | Code used to represent VR. Read-only String. |
| Is16BitLength { get; } | Specifies that length field of value is a 16-bit short integer. Read-only Boolean. |
| IsMultiValue { get; } | Specifies whether the value can contain multiple items. Read-only Boolean. |
| IsString { get; } | Specifies that the value is a string. Read-only Boolean. |
| MaximumLength { get; } | Maximum length of a single value. Read-only UInt32. |
| Name { get; set; } | Descriptive name of VR. Read-only String. |
| PaddingValue { get; } | Byte value used to pad value to even length. Read-only Byte. |
| UnitSize { get; } | Size of each individual value unit for fixed length value types. Read-only Int32. |
| ValueType { get; set; } | Type used to represent VR value. Read-only Type. |
Methods
| Name | Description |
|---|---|
| static Parse(string) | Converts the string representation of a VR to its typed equivalent. |
| override Equals(object) | |
| Equals(ValueRepresentation) | |
| Equals(object?, IEqualityComparer) | |
| override GetHashCode() | |
| GetHashCode(IEqualityComparer) | |
| override ToString() | |
| operator == | Determines whether two specified objects have the same value. |
| operator != | Determines whether two specified objects have different values. |
Fields
| Name | Description |
|---|---|
| static readonly AgeString | Age String (AS). |
| static readonly ApplicationEntity | Application Entity (AE). |
| static readonly AttributeTag | Attribute Tag (AT). |
| static readonly CodeString | Code String (CS). |
| static readonly Date | Date (DA). |
| static readonly DateTime | Date Time (DT). |
| static readonly DecimalString | Decimal String (DS). |
| static readonly FloatingPointDouble | Floating Point Double (FD). |
| static readonly FloatingPointSingle | Floating Point Single (FL). |
| static readonly IntegerString | Integer String (IS). |
| static readonly ItemsSequence | Items sequence (SQ). |
| static readonly LongString | Long String (LO). |
| static readonly LongText | Long Text (LT). |
| static readonly None | No Value Representation. |
| static readonly OtherByte | Other Byte (OB). |
| static readonly OtherDouble | Other Double (OD). |
| static readonly OtherFloat | Other Float (OF). |
| static readonly OtherLong | Other Long (OL). |
| static readonly OtherVeryLong | Other Very Long (OV). |
| static readonly OtherWord | Other Word (OW). |
| static readonly PersonName | Person Name (PN). |
| static readonly ShortString | Short String (SH). |
| static readonly ShortText | Short Text (ST). |
| static readonly SignedLong | Signed Long (SL). |
| static readonly SignedShort | Signed Short (SS). |
| static readonly SignedVeryLong | Signed Very Long (SV). |
| static readonly Time | Time (TM). |
| static readonly UniqueIdentifier | Unique Identifier (UI). |
| static readonly UniversalResourceIdentifier | Universal Resource Identifier (URI) or Universal Resource Locator (URI) (UR). |
| static readonly Unknown | Unknown (UN). |
| static readonly UnlimitedCharacters | Unlimited Characters (UC). |
| static readonly UnlimitedText | Unlimited Text (UT). |
| static readonly UnsignedLong | Unsigned Long (UL). |
| static readonly UnsignedShort | Unsigned Short (US). |
| static readonly UnsignedVeryLong | Unsigned Very Long (UV). |
See Also
- namespace Aspose.Medical.Dicom.ValueRepresentations
- assembly Aspose.Medical