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





In This Topic
FxConnectedContour Method (GdPictureImaging)
In This Topic
Performs connected contour effect on a GdPicture image or on an area of a GdPicture image defined by SetROI() method.
Syntax
'Declaration
 
Public Function FxConnectedContour( _
   ByVal ImageID As Integer _
) As GdPictureStatus
public GdPictureStatus FxConnectedContour( 
   int ImageID
)
public function FxConnectedContour( 
    ImageID: Integer
): GdPictureStatus; 
public function FxConnectedContour( 
   ImageID : int
) : GdPictureStatus;
public: GdPictureStatus FxConnectedContour( 
   int ImageID
) 
public:
GdPictureStatus FxConnectedContour( 
   int ImageID
) 

Parameters

ImageID
GdPicture image identifier.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
This method is used in the "Image Processing" Demo.
Example
Performing a connected contour effect on your 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.jpg", true);
 
    // Applying the connected contour effect to your image.
    gdpictureImaging.FxConnectedContour(imageID);
    gdpictureImaging.SaveAsJPEG(imageID, "image.jpg");
    gdpictureImaging.ReleaseGdPictureImage(imageID);
}
See Also