void RepairFaxMethods(string imageFile, string imageFileOut)
{
// Open image file
CiServer ci = Inlite.ClearImageNet.Server.GetThreadServer();
CiRepair Repair = ci.CreateRepair();
Repair.Image.Open(imageFile, 1);
// Do Processing
Repair.FaxStandardToFine();
Repair.FaxRemoveHeader();
Repair.FaxRemoveBlankLines();
Repair.Image.SaveAs(imageFileOut, EFileFormat.ciEXT);
}
Sub RepairFaxMethods(imageFile As String, imageFileOut As String)
' Open image file
Dim ci As CiServer = Inlite.ClearImageNet.Server.GetThreadServer()
Dim Repair As CiRepair = ci.CreateRepair()
Repair.Image.Open(imageFile, 1)
' Do Processing
Repair.FaxStandardToFine()
Repair.FaxRemoveHeader()
Repair.FaxRemoveBlankLines()
Repair.Image.SaveAs(imageFileOut, EFileFormat.ciEXT)
End Sub