Skip to content

PdfCosStream Class

Definition

Namespace: Xfinium.Pdf.Core.Cos

Defines a PDF COS stream.

C#
public class PdfCosStream : PdfCosDictionaryContainer, IPdfCosObjectContainer

Inheritance: Object → PdfCosObject → PdfCosDictionary → PdfCosDictionaryContainer → PdfCosStream

Implements: IPdfCosObjectContainer

Constructor

Name Description
PdfCosStream() Initializes a new PdfCosStream object.

Properties

Name Description
Count Gets the number of key/value pairs contained in the Dictionary.
(inherited from PdfCosDictionary)
DecodedStream Gets the decoded stream.
FileOffset Gets the object's file offset.
(inherited from PdfCosDictionaryContainer)
Item Gets or sets the value associated with the specified key.
(inherited from PdfCosDictionary)
Keys Gets a collection containing the keys in the Dictionary.
(inherited from PdfCosDictionary)
OriginalObjectNumber Gets the original object number.
(inherited from PdfCosDictionaryContainer)
Stream Gets or sets the stream content.
Type Gets the object type.
(inherited from PdfCosObject)

Methods

Name Description
GetKeyValueAsBool Gets the value of the specified key as a boolean.
(inherited from PdfCosDictionary)
GetKeyValueAsNumber Gets the value of the specified key as a double.
(inherited from PdfCosDictionary)
GetKeyValueAsString Gets the value of the specified key as a string.
(inherited from PdfCosDictionary)
SetStreamContent Sets the COS stream content with the specified stream.
ToString Returns a String that represents the current Object.