• API Documentation
  • i-net PDFC
  • i-net /// software
Search Results for

    Show / Hide Table of Contents
    • inetsoftware.Config
      • Configuration
      • ConfigurationManager
    • inetsoftware.Pdfc
      • PDFC
      • PDFComparer
    • inetsoftware.Pdfc.Config
      • DefaultProfileID
      • PDFCProperty
      • PDFCVisibility
    • inetsoftware.Pdfc.Error
      • ExceptionData
      • PresenterExceptionData
    • inetsoftware.Pdfc.Generator.Message
      • InfoData
    • inetsoftware.Pdfc.Generator.Model
      • ModificationType
      • ModificationType.Type
    • inetsoftware.Pdfc.Presenter
      • BasePresenter
      • ConsolePresenter
      • DifferencesPDFPresenter
      • DifferencesPNGPresenter
      • DifferencesPrintPresenter
      • ExportFilePresenter
      • ExportPresenter
      • JsonPresenter
      • ReportPDFPresenter
      • ReportPresenter
    • inetsoftware.Pdfc.Results
      • Diff
      • DiffGroups
      • ResultModel
    • inetsoftware.ProcessBridge
      • ProcessConfig
      • ProcessException
    • inetsoftware.ProcessBridge.Handler
      • BridgedObject
      • RefObject

    Class DifferencesPDFPresenter

    This presenter creates a complete comparison PDF for any comparison. The PDF contains all pages of both documents along with a highlighting of all differences. The visual representation is similar to the one of the i-net PDFC GUI.

    Inheritance
    System.Object
    BridgedObject
    BasePresenter
    ExportPresenter
    ExportFilePresenter
    DifferencesPDFPresenter
    Inherited Members
    ExportFilePresenter.SetPrintRange(Int32, Int32)
    ExportFilePresenter.ExportOnlyOnDifferences
    ExportPresenter.PAINT_LEFT
    ExportPresenter.PAINT_RIGHT
    ExportPresenter.PAINT_BOTH
    ExportPresenter.SetBackgroundColor(Nullable<Int32>)
    ExportPresenter.SetPaintOverlap(Boolean)
    ExportPresenter.SetOverlapAlpha(Single)
    ExportPresenter.SetPaintSides(Byte)
    BasePresenter.execute(ResultModel)
    BridgedObject.Equals(Object)
    BridgedObject.GetHashCode()
    System.Object.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: inetsoftware.Pdfc.Presenter
    Assembly: inetsoftware.Pdfc.dll
    Syntax
    public class DifferencesPDFPresenter : ExportFilePresenter

    Constructors

    DifferencesPDFPresenter(Stream)

    Creates the presenter with a stream. CAUTION: Since only a single stream is passed here, this instance must be used only for a single comparison! If used for a batch comparison all created PDFs will be written to this stream without further notice.

    Declaration
    public DifferencesPDFPresenter(Stream target)
    Parameters
    Type Name Description
    System.IO.Stream target

    DifferencesPDFPresenter(String)

    Creates the presenter

    Declaration
    public DifferencesPDFPresenter(string rootFolder)
    Parameters
    Type Name Description
    System.String rootFolder

    the folder to store the comparison results to.

    DifferencesPDFPresenter(String, Boolean)

    Creates the presenter

    Declaration
    public DifferencesPDFPresenter(string target, bool isFolder)
    Parameters
    Type Name Description
    System.String target

    the folder or file to store the comparison results to.

    System.Boolean isFolder

    if the target is a folder or a file

    Methods

    SetPagelayout(Int32, Int32, Int32, Int32, Int32, Int32)

    Set the desired pageLayout for the pdf to render.

    Declaration
    public void SetPagelayout(int pageWidth, int pageHeight, int marginLeft, int marginTop, int marginRight, int marginBottom)
    Parameters
    Type Name Description
    System.Int32 pageWidth

    the desired with in px, including margins.

    System.Int32 pageHeight

    the desired height in px, including margins.

    System.Int32 marginLeft

    margins to apply on the left side in px.

    System.Int32 marginTop

    margins to apply on top of the page in px.

    System.Int32 marginRight

    margins to apply on the right side in px.

    System.Int32 marginBottom

    margins to apply on the bottom side in px.

    SetPassword(String)

    Set the pdf password

    Declaration
    public void SetPassword(string password)
    Parameters
    Type Name Description
    System.String password

    the password for the pdf file.

    In This Article
    Back to top Copyright © 2010-2025 i-net software GmbH