CompareTool Public class
Diagram
flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.testutils iTextSharp.testutils.CompareTool[[CompareTool]] end
Members
Methods
Public methods
|
Returns |
Name |
|---|---|
|
|
( |
|
|
(
outArray,
cmpArray) |
|
|
(
outBoolean,
cmpBoolean) |
|
|
( |
|
|
( |
|
|
(
outDict,
cmpDict) |
|
|
( |
|
|
( |
|
|
(
outLiteral,
cmpLiteral) |
|
|
(
outName,
cmpName) |
|
|
(
outNumber,
cmpNumber) |
|
|
(
outStream,
cmpStream) |
|
|
(
outString,
cmpString) |
|
|
( |
|
|
( |
|
|
() |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
Details
Nested types
Classes
-
ObjectPath -
CompareResult
Constructors
CompareTool
Source code
public CompareTool()
Methods
Compare [1/2]
Source code
public virtual string Compare(string outPdf, string cmpPdf, string outPath, string differenceImagePrefix, IDictionary<int, IList<Rectangle>> ignoredAreas)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outPdf |
|
|
|
cmpPdf |
|
|
|
outPath |
|
|
|
differenceImagePrefix |
|
|
>> |
ignoredAreas |
Compare [2/2]
Source code
public virtual string Compare(string outPdf, string cmpPdf, string outPath, string differenceImagePrefix)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outPdf |
|
|
|
cmpPdf |
|
|
|
outPath |
|
|
|
differenceImagePrefix |
SetCompareByContentErrorsLimit
Source code
public virtual CompareTool SetCompareByContentErrorsLimit(int compareByContentMaxErrorCount)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
compareByContentMaxErrorCount |
SetGenerateCompareByContentXmlReport
Source code
public virtual void SetGenerateCompareByContentXmlReport(bool generateCompareByContentXmlReport)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
generateCompareByContentXmlReport |
SetFloatAbsoluteError
Source code
public CompareTool SetFloatAbsoluteError(float error)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
error |
SetFloatRelativeError
Source code
public CompareTool SetFloatRelativeError(float error)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
error |
SetXmlReportName
Source code
public void SetXmlReportName(string reportName)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
reportName |
GetXmlReportName
Source code
public string GetXmlReportName()
CompareByContent [1/2]
Source code
public virtual string CompareByContent(string outPdf, string cmpPdf, string outPath, string differenceImagePrefix, IDictionary<int, IList<Rectangle>> ignoredAreas)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outPdf |
|
|
|
cmpPdf |
|
|
|
outPath |
|
|
|
differenceImagePrefix |
|
|
>> |
ignoredAreas |
CompareByContent [2/2]
Source code
public virtual string CompareByContent(string outPdf, string cmpPdf, string outPath, string differenceImagePrefix)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outPdf |
|
|
|
cmpPdf |
|
|
|
outPath |
|
|
|
differenceImagePrefix |
CompareDictionaries
Source code
public bool CompareDictionaries(PdfDictionary outDict, PdfDictionary cmpDict)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outDict |
|
|
|
cmpDict |
CompareContentStreamsByParsing [1/2]
Source code
public bool CompareContentStreamsByParsing(PdfObject outObj, PdfObject cmpObj)
Arguments
CompareContentStreamsByParsing [2/2]
Source code
public bool CompareContentStreamsByParsing(PdfObject outObj, PdfObject cmpObj, PdfDictionary outResources, PdfDictionary cmpResources)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outObj |
|
|
|
cmpObj |
|
|
|
outResources |
|
|
|
cmpResources |
CompareStreams
Source code
public bool CompareStreams(PRStream outStream, PRStream cmpStream)
Arguments
CompareArrays
Source code
public bool CompareArrays(PdfArray outArray, PdfArray cmpArray)
Arguments
CompareNames
Source code
public bool CompareNames(PdfName outName, PdfName cmpName)
Arguments
CompareNumbers
Source code
public bool CompareNumbers(PdfNumber outNumber, PdfNumber cmpNumber)
Arguments
CompareStrings
Source code
public bool CompareStrings(PdfString outString, PdfString cmpString)
Arguments
CompareLiterals
Source code
public bool CompareLiterals(PdfLiteral outLiteral, PdfLiteral cmpLiteral)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outLiteral |
|
|
|
cmpLiteral |
CompareBooleans
Source code
public bool CompareBooleans(PdfBoolean outBoolean, PdfBoolean cmpBoolean)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outBoolean |
|
|
|
cmpBoolean |
CompareXmp [1/4]
Source code
public string CompareXmp(byte[] xmp1, byte[] xmp2)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
xmp1 |
|
|
|
xmp2 |
CompareXmp [2/4]
Source code
public string CompareXmp(byte[] xmp1, byte[] xmp2, bool ignoreDateAndProducerProperties)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
xmp1 |
|
|
|
xmp2 |
|
|
|
ignoreDateAndProducerProperties |
CompareXmp [3/4]
Source code
public string CompareXmp(string outPdf, string cmpPdf)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outPdf |
|
|
|
cmpPdf |
CompareXmp [4/4]
Source code
public string CompareXmp(string outPdf, string cmpPdf, bool ignoreDateAndProducerProperties)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outPdf |
|
|
|
cmpPdf |
|
|
|
ignoreDateAndProducerProperties |
CompareXmls
Source code
public bool CompareXmls(byte[] xml1, byte[] xml2)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
xml1 |
|
|
|
xml2 |
CompareDocumentInfo
Source code
public virtual string CompareDocumentInfo(string outPdf, string cmpPdf)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outPdf |
|
|
|
cmpPdf |
CompareLinks
Source code
public virtual string CompareLinks(string outPdf, string cmpPdf)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outPdf |
|
|
|
cmpPdf |
Generated with ModularDoc