ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFStream Class / Write Method
Memory buffer.
Number of items to write. The amount of data written into the memory buffer will be itemCount multiplied by itemSize.The relative values of itemCount and itemSize really do not matter; the only thing that matters is their product. It is often convenient to set itemSize to 1, so that itemCount is the number of bytes to write.
Number of bytes in an item.




In This Topic
    Write Method
    In This Topic
    Writes data from memory buffer to the stream.
    Syntax
    'Declaration
     
    Public Sub Write( _
       ByVal buffer() As Byte, _
       ByVal itemCount As Integer, _
       ByVal itemSize As Integer _
    ) 
    'Usage
     
    Dim instance As ImGearPDFStream
    Dim buffer() As Byte
    Dim itemCount As Integer
    Dim itemSize As Integer
     
    instance.Write(buffer, itemCount, itemSize)
    public void Write( 
       byte[] buffer,
       int itemCount,
       int itemSize
    )
    public: void Write( 
       byte[]* buffer,
       int itemCount,
       int itemSize
    ) 
    public:
    void Write( 
       array<byte>^ buffer,
       int itemCount,
       int itemSize
    ) 

    Parameters

    buffer
    Memory buffer.
    itemCount
    Number of items to write. The amount of data written into the memory buffer will be itemCount multiplied by itemSize.The relative values of itemCount and itemSize really do not matter; the only thing that matters is their product. It is often convenient to set itemSize to 1, so that itemCount is the number of bytes to write.
    itemSize
    Number of bytes in an item.
    See Also