CosObject Class

The base class for low-level PDF objects. This class is a base class for CosArray, CosBoolean, CosDictionary, CosName, CosNull, CosNumber, CosStream, and CosString.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.CosObject
    

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public abstract class CosObject
VB
Public MustInherit Class CosObject

The CosObject type exposes the following members.

Properties

  NameDescription
Public propertyType
Gets the type of this CosObject.

Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Remarks

"COS" stands for Carousel Object Structure and refers to the original name for Adobe Acrobat. This name is still used to refer to the way a PDF file is composed.

WARNING: Changes to low-level COS objects might break the owning PDF document.

Use high-level Docotic.Pdf API to edit a document. Don't edit COS objects unless you completely understand what you are doing.

Changes in low-level COS objects might be out of sync with high-level Docotic.Pdf objects.

See Also

Inheritance Hierarchy