Class TagDataReadingStrategies
Namespace: Aspose.Medical.Dicom.Readers
Assembly: Aspose.Medical.dll (25.11.0)
Provides different strategies for controlling how DICOM tag data is accessed from a dataset.
public static class TagDataReadingStrategiesInheritance
object ← TagDataReadingStrategies
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
ReadAll()
Returns a reading strategy that immediately loads all DICOM tag data into memory.
public static ITagDataReadingStrategy ReadAll()Returns
An instance of Aspose.Medical.Dicom.Readers.ITagDataReadingStrategy configured to read all tag data eagerly.
ReadLargeOnDemand(int)
Creates a reading strategy that defers the loading of large DICOM tags until explicitly accessed.
public static ITagDataReadingStrategy ReadLargeOnDemand(int largeObjectSizeKb = 0)Parameters
largeObjectSizeKb int
The size threshold (in kilobytes) above which a tag is considered large and will be loaded on-demand (inclusive). Defaults to 64 kB if not specified.
Returns
An instance of Aspose.Medical.Dicom.Readers.ITagDataReadingStrategy configured to defer loading of large tag data.
SkipLargeTags(int)
Returns a reading strategy that skips loading of large DICOM tags to reduce memory usage.
public static ITagDataReadingStrategy SkipLargeTags(int largeObjectSizeKb = 0)Parameters
largeObjectSizeKb int
The size threshold (in kilobytes) above which a tag is considered large and will be skipped (inclusive). Defaults to 64 kB if not specified.
Returns
An instance of Aspose.Medical.Dicom.Readers.ITagDataReadingStrategy configured to load only non-large tag data.