Click or drag to resize
SoVRSegyFileReaderSetSegyFileHeader Method

Specifies the header used to read the SEGY file.

Namespace: OIV.VolumeViz.Readers
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.0.0 (2024.2.0)
Syntax
public virtual bool SetSegyFileHeader(
	SoVRSegyFileHeader fileHeader
)

Parameters

fileHeader
Type: OIV.VolumeViz.ReadersSoVRSegyFileHeader

Return Value

Type: Boolean
Remarks

If this method is called, the reader uses the binary file header you pass rather than the actual binary file header. The following fields from the binary file header are used:

  • formatRevisionNumber

  • numTextHeaderExt

  • format

  • fixedLengthTraceFlag

  • hns (number of samples per trace)

Returns false if the operation fails, for example, if OIV.LDM.Readers.SoVolumeReader.SetFilename(System.String) was not called first.

See Also