VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles Namespace / ImageFileSource Class / WriteUInt16(UInt16) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    WriteUInt16(UInt16) Method (ImageFileSource)
    In This Topic
    Writes a 16-bit unsigned integer to the stream of the image file using Encoding of this ImageFileSource and advances the stream position by two bytes.
    Syntax
    'Declaration
    
    <CLSCompliantAttribute(False)>
    Public Sub WriteUInt16( _
    ByVal value
    The 16-bit unsigned integer to write.
    As UShort _
    )
    [CLSCompliant(False)]
    public void WriteUInt16(
    ushort value
    )
    [CLSCompliant(False)]
    public: void WriteUInt16(
    ushort value
    )
    [CLSCompliant(False)]
    public:
    void WriteUInt16(
    ushort value
    )

    Parameters

    value
    The 16-bit unsigned integer to write.
    Remarks

    Encoding (little-endian, big-endian or something else) of the ImageFileSource can be set using ToUInt16 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