Class DifferencesPNGPresenter
This presenter generates images for a complete graphical representation of the comparison. Generates one images or if multiple files must be generated a zip file containing the images.The visual representation is similar to the one of the i-net PDFC GUI.
Inheritance
System.Object
DifferencesPNGPresenter
Inherited Members
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 DifferencesPNGPresenter : ExportFilePresenter
Constructors
DifferencesPNGPresenter(String)
Creates the presenter
Declaration
public DifferencesPNGPresenter(string rootFolder)
Parameters
Type | Name | Description |
---|---|---|
System.String | rootFolder | the folder to store the comparison results to. |
DifferencesPNGPresenter(String, Boolean)
Creates the presenter
Declaration
public DifferencesPNGPresenter(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
SetSize(Int32, Int32)
Set the size of each image created.
Default value is 1000x1000 px.
Declaration
public void SetSize(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | the width of one image in px. |
System.Int32 | height | the height of one image in px. |