Skip to content

PdfContentStream.WriteBytes Method

Overloads

Name Description
WriteBytes(Byte[]) Writes the specified bytes to the content stream.
WriteBytes(Byte[],Int32,Int32) Writes the specified bytes to the content stream.

WriteBytes(Byte[])

Writes the specified bytes to the content stream.

C#
public void WriteBytes(Byte[] buffer)

Parameters

buffer Byte[]

Bytes to write.

Remarks

This method is usefull to write the data of an inline image to the content stream.

WriteBytes(Byte[],Int32,Int32)

Writes the specified bytes to the content stream.

C#
public void WriteBytes(Byte[] buffer, int offset, int count)

Parameters

buffer Byte[]

Bytes to write.

offset Int32

Offset in the buffer were the bytes to write start.

count Int32

Number of bytes to write.

Remarks

This method is usefull to write the data of an inline image to the content stream.