| SoVRSegyTraceHeaderBytePositionSetByteFormat Method  | 
Sets/Gets the field format of a specific attribute within the trace header. 
 
Namespace: OIV.VolumeViz.ReadersAssembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2025.2.0.0 (10.18.0.0)
Syntaxpublic void SetByteFormat(
	SoVRSegyTraceHeaderBytePositionTraceAttributes attr,
	SoVRSegyTraceHeaderBytePositionTraceByteFormats format
)
Public Sub SetByteFormat ( 
	attr As SoVRSegyTraceHeaderBytePositionTraceAttributes,
	format As SoVRSegyTraceHeaderBytePositionTraceByteFormats
)
public:
void SetByteFormat(
	SoVRSegyTraceHeaderBytePositionTraceAttributes attr, 
	SoVRSegyTraceHeaderBytePositionTraceByteFormats format
)
member SetByteFormat : 
        attr : SoVRSegyTraceHeaderBytePositionTraceAttributes * 
        format : SoVRSegyTraceHeaderBytePositionTraceByteFormats -> unit 
Parameters
- attr
 - Type: OIV.VolumeViz.ReadersSoVRSegyTraceHeaderBytePositionTraceAttributes
 - format
 - Type: OIV.VolumeViz.ReadersSoVRSegyTraceHeaderBytePositionTraceByteFormats
 
RemarksThe default format for all the fields is either SEGY_INTEGER16_FORMAT or SEGY_INTEGER32_FORMAT, see the class OIV.VolumeViz.Readers.SoVRSegyTraceIdHeader below. For instance calling setByteFormat(TraceAttribute.SEGY_SX, SEGY_IEEE_FLOAT_FORMAT) means that the attribute source coordinate X should be coded as a IEEE float. 
See Also