VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles Namespace / ImageFileSource Class / ReadSingle() Method
Syntax Remarks Requirements SeeAlso
In This Topic
    ReadSingle() Method (ImageFileSource)
    In This Topic
    Reads a 4-byte floating point value from the stream of the image file using encoding of this ImageFileSource and advances the position of the stream by 4 bytes.
    Syntax
    'Declaration
    
    Public Function ReadSingle() As Single
    
    
    public float ReadSingle()
    
    
    public: float ReadSingle()
    
    
    public:
    float ReadSingle()

    Return Value

    A 4-byte floating point value read from the stream of the image file.
    Remarks

    Encoding (little-endian, big-endian or something else) of the ImageFileSource can be set using ToSingle methods.

    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also