| PdfTypeStream Class |
Represents the Stream type of objects
Inheritance Hierarchy Namespace: Patagames.Pdf.Net.BasicTypesAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax public class PdfTypeStream : PdfTypeBase
Public Class PdfTypeStream
Inherits PdfTypeBase
public ref class PdfTypeStream : public PdfTypeBase
type PdfTypeStream =
class
inherit PdfTypeBase
end
public class PdfTypeStream extends PdfTypeBase
Patagames.Pdf.Net.BasicTypes.PdfTypeStream = function();
Type.createClass(
'Patagames.Pdf.Net.BasicTypes.PdfTypeStream',
Patagames.Pdf.Net.BasicTypes.PdfTypeBase);
The PdfTypeStream type exposes the following members.
Constructors | Name | Description |
---|
| PdfTypeStream |
Construct new instance of PdfTypeStream class from given Handle
|
TopProperties | Name | Description |
---|
| Content |
Get a managed copy of underlying buffer of the stream.
|
| DecodedData |
Gets decoded strem content.
|
| DecodedText |
Gets decoded stream contetn as ASCII string
|
| Dictionary |
Gets a Dictionary representation of the specified object.
|
| IsMemoryBased |
Gets a boolean value that indicates whether a Stream was initialized from memory.
|
| Length |
Gets the length in bytes of the underlying buffer of the stream.
|
| RawData |
Get underlying buffer of the stream.
|
TopMethods | Name | Description |
---|
| Create |
Creates new Stream object
|
| Create(IntPtr) |
Creates new instance of PdfTypeStream class
|
| Init |
Initialize the stream with a sequence of bytes.
|
| InitEmpty |
Initialize the stream with an empty sequence of bytes.
|
| Read |
Reads a specified number of bytes from the current stream from specified position.
|
| SetContent |
Replace the stream content with the specified data.
|
| SetRawData |
Set specified raw data into current stream
|
TopRemarks
A stream object, like a string object, is a sequence of bytes.
However, a PDF application can read a stream incrementally, while a string must be read in its entirety.
Furthermore, a stream can be of unlimited length, whereas a string is subject to an implementation limit.
For this reason, objects with potentially large amounts of data, such as images and page descriptions,
are represented as streams. All streams must be indirect objects and the stream dictionary must be a direct object.
See Also