alexa
menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class PdfParser

    Inheritance
    System.Object
    PdfParser
    Namespace: Syncfusion.Pdf.IO
    Assembly: Syncfusion.Pdf.UWP.dll
    Syntax
    public class PdfParser : Object

    Constructors

    PdfParser(CrossTable, PdfReader, PdfCrossTable)

    Initializes a new instance of the PDFParser class.

    Declaration
    public PdfParser(CrossTable cTable, PdfReader reader, PdfCrossTable crossTable)
    Parameters
    Type Name Description
    CrossTable cTable

    The cross-reference table.

    PdfReader reader

    The reader.

    PdfCrossTable crossTable

    The cross table.

    Methods

    Parse()

    Parses a PDF object.

    Declaration
    public IPdfPrimitive Parse()
    Returns
    Type Description
    IPdfPrimitive

    The object.

    Parse(Int64)

    Parses a PDF object.

    Declaration
    public IPdfPrimitive Parse(long offset)
    Parameters
    Type Name Description
    System.Int64 offset

    The offset to the object.

    Returns
    Type Description
    IPdfPrimitive

    The object.

    ParseXRefTable(Dictionary<Int64, CrossTable.ObjectInformation>, CrossTable)

    Parses the XRef table.

    Declaration
    public IPdfPrimitive ParseXRefTable(Dictionary<long, CrossTable.ObjectInformation> objects, CrossTable cTable)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<System.Int64, CrossTable.ObjectInformation> objects

    The objects.

    CrossTable cTable

    The cross-reference table.

    Returns
    Type Description
    IPdfPrimitive

    The trailer dictionary.

    RebuildXrefTable(Dictionary<Int64, CrossTable.ObjectInformation>, CrossTable)

    Rebuild the xref table for corrupted PDF Documents

    Declaration
    public void RebuildXrefTable(Dictionary<long, CrossTable.ObjectInformation> newObjects, CrossTable crosstable)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<System.Int64, CrossTable.ObjectInformation> newObjects

    The new objects.

    CrossTable crosstable

    The cross table.

    SetOffset(Int64)

    Sets the offset.

    Declaration
    public void SetOffset(long offset)
    Parameters
    Type Name Description
    System.Int64 offset

    The offset.

    StartXRef()

    Reads startxref entry.

    Declaration
    public long StartXRef()
    Returns
    Type Description
    System.Int64

    The offset to the XRef table.

    Trailer()

    Reads a trailer from the stream at the offset.

    Declaration
    public IPdfPrimitive Trailer()
    Returns
    Type Description
    IPdfPrimitive

    The trailer dictionary.

    Trailer(Int64)

    Reads a trailer from the stream at the offset.

    Declaration
    public IPdfPrimitive Trailer(long offset)
    Parameters
    Type Name Description
    System.Int64 offset

    The offset.

    Returns
    Type Description
    IPdfPrimitive

    The trailer dictionary.

    Extension Methods

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