ClearImage .NET API
FaxRemoveBlankLines Method (CiRepair)
Example 





Inlite.ClearImage Namespace > CiRepair Class : FaxRemoveBlankLines Method
Remove blank lines from the faxed image
Syntax
'Declaration
 
Public Function FaxRemoveBlankLines() As System.Integer
'Usage
 
Dim instance As CiRepair
Dim value As System.Integer
 
value = instance.FaxRemoveBlankLines()
public System.int FaxRemoveBlankLines()
public function FaxRemoveBlankLines(): System.Integer; 
public function FaxRemoveBlankLines() : System.int;
public:
System.int FaxRemoveBlankLines(); 
Remarks

Communication errors during Fax transmission might result in white horizontal lines inserted in the output image. This method deletes such lines.

Method requires bi-tonal image (object.Image.BitsPerPixel = 1).

Example
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
See Also

Reference

CiRepair Class
CiRepair Members
FaxStandardToFine Method
FaxRemoveHeader Method
FaxRemoveBlankLines Method