menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfNumber - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PdfNumber

    Inheritance
    System.Object
    PdfNumber
    Implements
    IPdfPrimitive
    Namespace: Syncfusion.Pdf.Primitives
    Assembly: Syncfusion.Pdf.UWP.dll
    Syntax
    public class PdfNumber : Object, IPdfPrimitive

    Properties

    ClonedObject

    Returns cloned object.

    Declaration
    public IPdfPrimitive ClonedObject { get; }
    Property Value
    Type
    IPdfPrimitive

    FloatValue

    Gets or sets the float value.

    Declaration
    public float FloatValue { get; set; }
    Property Value
    Type
    System.Single

    IntValue

    Gets or sets the integer value.

    Declaration
    public int IntValue { get; set; }
    Property Value
    Type
    System.Int32

    IsInteger

    Gets or sets a value indicating whether this instance is integer.

    Declaration
    public bool IsInteger { get; set; }
    Property Value
    Type
    System.Boolean

    IsSaving

    Gets or sets a value indicating whether this document is saving or not.

    Declaration
    public bool IsSaving { get; set; }
    Property Value
    Type
    System.Boolean

    ObjectCollectionIndex

    Gets or sets the integer value of the specified object.

    Declaration
    public int ObjectCollectionIndex { get; set; }
    Property Value
    Type
    System.Int32

    Position

    Gets or sets the position of the object.

    Declaration
    public int Position { get; set; }
    Property Value
    Type
    System.Int32

    Status

    Gets or sets the Status of the specified object.

    Declaration
    public ObjectStatus Status { get; set; }
    Property Value
    Type
    ObjectStatus

    Methods

    Clone(PdfCrossTable)

    Creates a copy of PdfNumber.

    Declaration
    public IPdfPrimitive Clone(PdfCrossTable crossTable)
    Parameters
    Type Name Description
    PdfCrossTable crossTable
    Returns
    Type
    IPdfPrimitive

    FloatToString(Single)

    Converts a float value to a string using Adobe PDF rules.

    Declaration
    public static string FloatToString(float number)
    Parameters
    Type Name Description
    System.Single number

    The number.

    Returns
    Type
    System.String

    Max(Single, Single, Single)

    Determines the maximum of the three values.

    Declaration
    public static float Max(float x, float y, float z)
    Parameters
    Type Name Description
    System.Single x

    The 1st value.

    System.Single y

    The 2nd value.

    System.Single z

    The 3d value.

    Returns
    Type Description
    System.Single

    The max value.

    Min(Single, Single, Single)

    Determines the minimum of the three values.

    Declaration
    public static float Min(float x, float y, float z)
    Parameters
    Type Name Description
    System.Single x

    The 1st value.

    System.Single y

    The 2nd value.

    System.Single z

    The 3d value.

    Returns
    Type Description
    System.Single

    The min value.

    Save(IPdfWriter)

    Saves the object.

    Declaration
    public void Save(IPdfWriter writer)
    Parameters
    Type Name Description
    IPdfWriter writer

    PDF writer.

    Implements

    IPdfPrimitive

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved