Class SaveDicomToFileOptions

Class SaveDicomToFileOptions

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 file.

public sealed record SaveDicomToFileOptions : ISaveDicomOptions, IEquatable<savedicomtofileoptions>

Inheritance

object SaveDicomToFileOptions

Implements

ISaveDicomOptions , IEquatable<savedicomtofileoptions>

Inherited Members

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

Constructors

SaveDicomToFileOptions()

public SaveDicomToFileOptions()

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.SaveDicomToFileOptions. Read-only Aspose.Medical.Dicom.Writers.SaveDicomToFileOptions.

public static SaveDicomToFileOptions Default { get; }

Property Value

SaveDicomToFileOptions

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 SaveDicomToFileOptions <clone>$()

Returns

SaveDicomToFileOptions

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object ?

Returns

bool

Equals(SaveDicomToFileOptions?)

public bool Equals(SaveDicomToFileOptions? other)

Parameters

other SaveDicomToFileOptions ?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SaveDicomToFileOptions?, SaveDicomToFileOptions?)

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

Parameters

left SaveDicomToFileOptions ?

right SaveDicomToFileOptions ?

Returns

bool

operator !=(SaveDicomToFileOptions?, SaveDicomToFileOptions?)

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

Parameters

left SaveDicomToFileOptions ?

right SaveDicomToFileOptions ?

Returns

bool </clone></savedicomtofileoptions>