menu

UWP

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

    Show / Hide Table of Contents

    Class PdfReference

    Represents a PDF reference.

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

    Constructors

    PdfReference(Int64, Int32)

    Initialize the class.

    Declaration
    public PdfReference(long objNum, int genNum)
    Parameters
    Type Name Description
    System.Int64 objNum

    The object number.

    System.Int32 genNum

    The generation number.

    PdfReference(String, String)

    Initialize the class.

    Declaration
    public PdfReference(string objNum, string genNum)
    Parameters
    Type Name Description
    System.String objNum

    The object number.

    System.String genNum

    The generation number.

    Fields

    GenNum

    Holds the generation number of the object.

    Declaration
    public readonly int GenNum
    Field Value
    Type
    System.Int32

    ObjNum

    Holds the object number.

    Declaration
    public readonly long ObjNum
    Field Value
    Type
    System.Int64

    Properties

    ClonedObject

    Returns cloned object.

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

    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

    Equals(Object)

    Compares two object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The object to compare with.

    Returns
    Type Description
    System.Boolean

    The result of comparison.

    GetHashCode()

    Returns a hash code.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    The hash code.

    Save(IPdfWriter)

    Writes a reference into a PDF document.

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

    A PDF writer.

    ToString()

    Returns a string representing the object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    The string.

    Operators

    Equality(PdfReference, PdfReference)

    Compares two reference objects.

    Declaration
    public static bool operator ==(PdfReference ref1, PdfReference ref2)
    Parameters
    Type Name Description
    PdfReference ref1

    The first object to compare.

    PdfReference ref2

    The second object to compare.

    Returns
    Type Description
    System.Boolean

    The result of the comparison.

    Inequality(PdfReference, PdfReference)

    Compares two reference objects.

    Declaration
    public static bool operator !=(PdfReference ref1, PdfReference ref2)
    Parameters
    Type Name Description
    PdfReference ref1

    The first object to compare.

    PdfReference ref2

    The second object to compare.

    Returns
    Type Description
    System.Boolean

    The result of the comparison.

    Explicit Interface Implementations

    IPdfPrimitive.Clone(PdfCrossTable)

    Creates a copy of PdfReference.

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

    Implements

    IPdfPrimitive

    Extension Methods

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