Class TagExtensions

Class TagExtensions

Namespace: Aspose.Medical.Dicom.Tags
Assembly: Aspose.Medical.dll (25.11.0)

Provide extension methods for Aspose.Medical.Dicom.Tags.Tag.

public static class TagExtensions

Inheritance

object TagExtensions

Inherited Members

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Methods

WithGroup(Tag, ushort)

Creates a new instance of the Aspose.Medical.Dicom.Tags.Tag with the Aspose.Medical.Dicom.Tags.Tag.Group equal to the given group and Aspose.Medical.Dicom.Tags.Tag.Element equal to the given tag’s Aspose.Medical.Dicom.Tags.Tag.Element.

public static Tag WithGroup(this Tag tag, ushort group)

Parameters

tag Tag

Source tag based on what a new tag will be created.

group ushort

A group of a tag to be created.

Returns

Tag

The Aspose.Medical.Dicom.Tags.Tag.