openDICOM.NET API Reference (openDICOM# Class Library)

ValueRepresentation Members

ValueRepresentation overview

Public Static Properties

IsStrictDecoded Global switch for controlling strictness of DICOM content decoding. If this switch is set to false, a lot of conditions within Decode will be ignored.

Public Static Methods

GetByOverloaded. Returns a new value representation instance registered by the defined tag.
IsImplicitBy The same as IsImplicit, but in a static manner.
LoadFromOverloaded. Creates a new VR instance from a DICOM output stream.

Public Instance Constructors

ValueRepresentation Overloaded. Initializes a new instance of the ValueRepresentation class.

Public Instance Properties

IsImplicit Returns whether this instance is an implicit VR, a value representation without corresponding DICOM data stream entry. Therefore, the transfer syntax is considered.
IsUndefined Returns whether this instance is a defined or undefined value representation. An undefined value representation also is an unspecific value representation. Attention: The value representation UN (Unknown) is not an undefined value representation and thus specific. An undefined value representation is represented by an empty string.
IsUnknown Returns true, if this value representation instance is unknown (UN).
Name Access the string representation of this instance. The string representation is a two characters string of format "VR" and is an abbreviation for the type of DICOM value representation. If a value representation is unspecified, an empty string will be returned.
StreamPosition Position within a DICOM stream of this VR instance. If this instance does not belong to a stream, -1 will be returned. This will be the case, if this VR instance is registered in a data element dictionary.
Tag Access corresponding DICOM tag.
TransferSyntax Access corresponding DICOM transfer syntax.

Public Instance Methods

Decode Determines the correct type and multiplicity of a DICOM value.
DecodeToValue Determines the correct type and multiplicity of a DICOM value and converts it to a DICOM value class.
LoadFromOverloaded. Re-creates this instance from a DICOM output stream.
ToLongString DICOM VR detailed string representation.
ToString DICOM VR string representation.

See Also

ValueRepresentation Class | openDicom.DataStructure Namespace