ImageGear .NET v25.2 - Updated
Read Method (ImGearPDFStream)




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFStream Class : Read Method
Number of items to read. The amount of data read into the memory buffer will be itemCount multiplied by itemSize, unless an EOF is encountered first.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 read.
Number of bytes in an item in the stream.
Reads data from the stream into memory.
Syntax
'Declaration
 
Public Function Read( _
   ByVal itemCount As Integer, _
   ByVal itemSize As Integer _
) As Byte()
'Usage
 
Dim instance As ImGearPDFStream
Dim itemCount As Integer
Dim itemSize As Integer
Dim value() As Byte
 
value = instance.Read(itemCount, itemSize)
public byte[] Read( 
   int itemCount,
   int itemSize
)
public: byte[]* Read( 
   int itemCount,
   int itemSize
) 
public:
array<byte>^ Read( 
   int itemCount,
   int itemSize
) 

Parameters

itemCount
Number of items to read. The amount of data read into the memory buffer will be itemCount multiplied by itemSize, unless an EOF is encountered first.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 read.
itemSize
Number of bytes in an item in the stream.

Return Value

ImageGear integer array which contains stream data.
See Also

Reference

ImGearPDFStream Class
ImGearPDFStream Members

Is this page helpful?
Yes No
Thanks for your feedback.