GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / FxBitonalFillHolesV Method
GdPicture image identifier.
Example





In This Topic
FxBitonalFillHolesV Method (GdPictureImaging)
In This Topic
Fills the 1 pixel size holes in the vertical direction in a GdPicture image or in an area of a GdPicture image defined by SetROI() method.
Syntax
'Declaration
 
Public Function FxBitonalFillHolesV( _
   ByVal ImageID As Integer _
) As GdPictureStatus
public GdPictureStatus FxBitonalFillHolesV( 
   int ImageID
)
public function FxBitonalFillHolesV( 
    ImageID: Integer
): GdPictureStatus; 
public function FxBitonalFillHolesV( 
   ImageID : int
) : GdPictureStatus;
public: GdPictureStatus FxBitonalFillHolesV( 
   int ImageID
) 
public:
GdPictureStatus FxBitonalFillHolesV( 
   int ImageID
) 

Parameters

ImageID
GdPicture image identifier.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
This method is used in the "Barcode Recognition" Demo.

This method requires the Image Documents component to run.

Example
Filling holes within a black and white tiff image.
using (GdPictureImaging gdpictureImaging = new GdPictureImaging())
{
    // LoadInMemory parameter is set to true in order to be able to update the input file.
    int imageID = gdpictureImaging.CreateGdPictureImageFromFile("image.tif", true);
 
    // Fills the 1 pixel size holes in the vertical direction.
    gdpictureImaging.FxBitonalFillHolesV(imageID);
    gdpictureImaging.SaveAsTIFF(imageID, "image.tif", TiffCompression.TiffCompressionCCITT4);
    gdpictureImaging.ReleaseGdPictureImage(imageID);
}
See Also