Class PDFProcessor
Inheritance
System.Object
PDFProcessor
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: editdocuments.dll
Syntax
public class PDFProcessor : Processor
Methods
|
Improve this Doc
View Source
GetPDFFiles(String)
Declaration
public static IEnumerable<string> GetPDFFiles(string FolderName)
Parameters
| Type |
Name |
Description |
| System.String |
FolderName |
|
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
Declaration
public bool RunOnFile(string InputPath, string PicturePath, string TextPlaceHolder, double LeftOffset, double BottomOffset, double Width, double Height, string OutputPath, bool IsAbsolute = false, PageReference Reference = PageReference.bottom_left, int PageNumber = 1, bool Verbose = false)
Parameters
| Type |
Name |
Description |
| System.String |
InputPath |
|
| System.String |
PicturePath |
|
| System.String |
TextPlaceHolder |
|
| System.Double |
LeftOffset |
|
| System.Double |
BottomOffset |
|
| System.Double |
Width |
|
| System.Double |
Height |
|
| System.String |
OutputPath |
|
| System.Boolean |
IsAbsolute |
|
| PageReference |
Reference |
|
| System.Int32 |
PageNumber |
|
| System.Boolean |
Verbose |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
RunProcess(DataInfo, Boolean)
Declaration
public void RunProcess(DataInfo Data, bool Verbose = false)
Parameters
| Type |
Name |
Description |
| DataInfo |
Data |
|
| System.Boolean |
Verbose |
|
|
Improve this Doc
View Source
Declaration
public void RunProcess(string PicturePath, string TextPlaceHolder, double LeftOffset = 0, double BottomOffset = 0, double Width = 200, double Height = 150, string InputFolder = null, IEnumerable<string> InputFiles = null, string FolderSave = null, string SubFolderSave = null, bool IsAbsolute = false, PageReference Reference = PageReference.bottom_left, int PageNumber = 1, bool Verbose = true)
Parameters
| Type |
Name |
Description |
| System.String |
PicturePath |
|
| System.String |
TextPlaceHolder |
|
| System.Double |
LeftOffset |
|
| System.Double |
BottomOffset |
|
| System.Double |
Width |
|
| System.Double |
Height |
|
| System.String |
InputFolder |
|
| System.Collections.Generic.IEnumerable<System.String> |
InputFiles |
|
| System.String |
FolderSave |
|
| System.String |
SubFolderSave |
|
| System.Boolean |
IsAbsolute |
|
| PageReference |
Reference |
|
| System.Int32 |
PageNumber |
|
| System.Boolean |
Verbose |
|
Events
|
Improve this Doc
View Source
FinishProcessing
Declaration
public event EventHandler FinishProcessing
Event Type
| Type |
Description |
| System.EventHandler |
|
|
Improve this Doc
View Source
FinishProcessingFile
Declaration
public event EventHandler<TextArg> FinishProcessingFile
Event Type
| Type |
Description |
| System.EventHandler<TextArg> |
|
|
Improve this Doc
View Source
GotPlaceHolderPosition
Declaration
public event EventHandler<TextArg> GotPlaceHolderPosition
Event Type
| Type |
Description |
| System.EventHandler<TextArg> |
|
|
Improve this Doc
View Source
PageOutOfBounds
Declaration
public event EventHandler<IntArg> PageOutOfBounds
Event Type
| Type |
Description |
| System.EventHandler<IntArg> |
|
|
Improve this Doc
View Source
PDFSaved
Declaration
public event EventHandler<TextArg> PDFSaved
Event Type
| Type |
Description |
| System.EventHandler<TextArg> |
|
|
Improve this Doc
View Source
StartProcessing
Declaration
public event EventHandler StartProcessing
Event Type
| Type |
Description |
| System.EventHandler |
|
|
Improve this Doc
View Source
StartProcessingFile
Declaration
public event EventHandler<TextArg> StartProcessingFile
Event Type
| Type |
Description |
| System.EventHandler<TextArg> |
|
|
Improve this Doc
View Source
SummarySuccess
Declaration
public event EventHandler<CounterArgs> SummarySuccess
Event Type
|
Improve this Doc
View Source
TextNotFoundInDocument
Declaration
public event EventHandler<TextArg> TextNotFoundInDocument
Event Type
| Type |
Description |
| System.EventHandler<TextArg> |
|
|
Improve this Doc
View Source
UpdateCounter
Declaration
public event EventHandler<CounterArgs> UpdateCounter
Event Type
Implements