CosNumber Class

Class for a low-level PDF numeric object.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.CosObject
    BitMiracle.Docotic.Pdf.CosNumber

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

Syntax

C#
public sealed class CosNumber : CosObject
VB
Public NotInheritable Class CosNumber
	Inherits CosObject

The CosNumber type exposes the following members.

Properties

  NameDescription
Public propertyIntValue
Gets the value of this CosNumber object as an integer number.
Public propertyRealValue
Gets the value of this CosNumber object as a real number.
Public propertyType
Gets the type of this CosObject.
(Overrides CosObject.Type.)

Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Remarks

PDF provides two types of numeric objects: integer and real. Integer objects represent mathematical integers. Real objects represent mathematical real numbers.

Examples of number objects in a PDF file: -7, 9.832.

See Also