Class SaveDicomToStreamOptions

Class SaveDicomToStreamOptions

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

Options that control how a Aspose.Medical.Dicom.DicomFile is saved to a stream.

public sealed record SaveDicomToStreamOptions : ISaveDicomOptions, IEquatable<savedicomtostreamoptions>

Inheritance

object SaveDicomToStreamOptions

Implements

ISaveDicomOptions , IEquatable<savedicomtostreamoptions>

Inherited Members

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

Constructors

SaveDicomToStreamOptions()

public SaveDicomToStreamOptions()

Properties

BufferTuningOptions

I/O buffer tuning options. Read-only, Aspose.Medical.Dicom.Writers.WriteBufferTuningOptions.

public WriteBufferTuningOptions BufferTuningOptions { get; init; }

Property Value

WriteBufferTuningOptions

Default

Default Aspose.Medical.Dicom.Writers.SaveDicomToStreamOptions. Read-only Aspose.Medical.Dicom.Writers.SaveDicomToStreamOptions.

public static SaveDicomToStreamOptions Default { get; }

Property Value

SaveDicomToStreamOptions

ExplicitLengthSequenceItems

Specifies whether to write (if true) a ‘Group Length’ element for Aspose.Medical.Dicom.Elements.Sequence item. Read-only System.Boolean.

public bool ExplicitLengthSequenceItems { get; init; }

Property Value

bool

Remarks

DICOM specification PS 3.5 7.2 ( https://dicom.nema.org/medical/dicom/current/output/html/part05.html#sect_7.2) : Group Length (gggg,0000) Data Elements were implicitly defined for Standard and Private Data Element groups with a Value Representation of UL and a Value Multiplicity of 1, but have been retired. Consider to remove Group Length.

ExplicitLengthSequences

Specifies whether to write (if true) a ‘Group Length’ element for System.Boolean DICOM elements. Read-only Aspose.Medical.Dicom.Elements.Sequence.

public bool ExplicitLengthSequences { get; init; }

Property Value

bool

Remarks

DICOM specification PS 3.5 7.2 ( https://dicom.nema.org/medical/dicom/current/output/html/part05.html#sect_7.2) : Group Length (gggg,0000) Data Elements were implicitly defined for Standard and Private Data Element groups with a Value Representation of UL and a Value Multiplicity of 1, but have been retired. Consider to remove Group Length.

KeepGroupLengths

Specifies whether to write (if true) a ‘Group Length’ element for the Dataset items or not. Read-only System.Boolean.

public bool KeepGroupLengths { get; init; }

Property Value

bool

Remarks

DICOM specification PS 3.5 7.2 ( https://dicom.nema.org/medical/dicom/current/output/html/part05.html#sect_7.2) : Group Length (gggg,0000) Data Elements were implicitly defined for Standard and Private Data Element groups with a Value Representation of UL and a Value Multiplicity of 1, but have been retired. Consider to remove Group Length.

Methods

<clone>$()

public SaveDicomToStreamOptions <clone>$()

Returns

SaveDicomToStreamOptions

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object ?

Returns

bool

Equals(SaveDicomToStreamOptions?)

public bool Equals(SaveDicomToStreamOptions? other)

Parameters

other SaveDicomToStreamOptions ?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SaveDicomToStreamOptions?, SaveDicomToStreamOptions?)

public static bool operator ==(SaveDicomToStreamOptions? left, SaveDicomToStreamOptions? right)

Parameters

left SaveDicomToStreamOptions ?

right SaveDicomToStreamOptions ?

Returns

bool

operator !=(SaveDicomToStreamOptions?, SaveDicomToStreamOptions?)

public static bool operator !=(SaveDicomToStreamOptions? left, SaveDicomToStreamOptions? right)

Parameters

left SaveDicomToStreamOptions ?

right SaveDicomToStreamOptions ?

Returns

bool </clone></savedicomtostreamoptions>