Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / PdfNumber Class
Properties Methods

In This Topic
    PdfNumber Class Members
    In This Topic

    The following tables list the members exposed by PdfNumber.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyConverts the PdfNumber to double.  
    Public PropertyConverts the PdfNumber to float.  
    Public PropertyConverts the PdfNumber to int. Note! The PdfNumber can contain a value does not fit into integer bounds, in this case result will be System.Int32.MinValue or System.Int32.MaxValue.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Creates the PdfNumber object from nullable float value, returns PdfNull.Instance if value is null.  
    Public MethodOverloaded. Determines whether the specified object is equal to the current object.  
    Public MethodServes as the default hash function.  
    Public Methodstatic (Shared in Visual Basic)Creates a new PdfNumber or returns existing predefined PdfNumber object.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts a double value to a string. Note that a separate method ToString(Single,Int32) exists for converting float values, separate methods are needed to avoid rounding errors that may occur when converting doubles to floats and vice versa. The value to convert. The count of digits after decimal point.  
    Top
    Public Operators
    The equality operator.
    Converts the double to the PdfNumber.
    Converts the PdfNumber to a double.
    The inequality operator.
    Top
    See Also