GdPictureSegmenter Constructor
                                 
                                
                                    
                                        In This Topic
                                    
                                
                                Creates a new instance of the GdPictureSegmenter class. This instance represents a wrapper, that you will need to perform the image segmentation process.
            At the same it enables you to find out all required results in one place.
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Function New()
             
        
            
            public GdPictureSegmenter()
             
        
            
            public GdPictureSegmenter(); 
             
        
            
            public function GdPictureSegmenter();
             
        
            
            public: GdPictureSegmenter();
             
        
            
            public:
GdPictureSegmenter();
             
        
             
        
            
            Return Value
A new instance of the GdPictureSegmenter class.
 
            
            
            
            
            
            Example
How to create and initialize a GdPictureSegmenter object.
            
             
    
	
		'The first option
 
Dim gdpictureSegmenter As GdPictureSegmenter = New GdPictureSegmenter()
'... setting parameters ...
Dim resId As String = gdpictureSegmenter.RunSegmentation()
'... checking results ...
gdpictureSegmenter.Dispose()
 
'The second option
 
'The very good practice Is to use the keyword "using".
Using gdpictureSegmenter As GdPictureSegmenter = New GdPictureSegmenter()
    '... setting parameters ...
    Dim resId As String = gdpictureSegmenter.RunSegmentation()
    '... checking results ...
End Using
	 
	
		//The first option:
 
GdPictureSegmenter gdpictureSegmenter = new GdPictureSegmenter();
//... setting parameters ...
string resID = gdpictureSegmenter.RunSegmentation();
//... checking results ...
gdpictureSegmenter.Dispose();
 
//The second option:
 
//The very good practice is to use the keyword "using".
using (GdPictureSegmenter gdpictureSegmenter = new GdPictureSegmenter())
{
    //... setting parameters ...
    string resID = gdpictureSegmenter.RunSegmentation();
    //... checking results ...
}
	 
	
 
 
            
            Example
How to create and initialize a GdPictureSegmenter object.
            
            'The first option
             
            Dim gdpictureSegmenter As GdPictureSegmenter = New GdPictureSegmenter()
            '... setting parameters ...
            Dim resId As String = gdpictureSegmenter.RunSegmentation()
            '... checking results ...
            gdpictureSegmenter.Dispose()
             
            'The second option
             
            'The very good practice Is to use the keyword "using".
            Using gdpictureSegmenter As GdPictureSegmenter = New GdPictureSegmenter()
                '... setting parameters ...
                Dim resId As String = gdpictureSegmenter.RunSegmentation()
                '... checking results ...
            End Using
            //The first option:
             
            GdPictureSegmenter gdpictureSegmenter = new GdPictureSegmenter();
            //... setting parameters ...
            string resID = gdpictureSegmenter.RunSegmentation();
            //... checking results ...
            gdpictureSegmenter.Dispose();
             
            //The second option:
             
            //The very good practice is to use the keyword "using".
            using (GdPictureSegmenter gdpictureSegmenter = new GdPictureSegmenter())
            {
                //... setting parameters ...
                string resID = gdpictureSegmenter.RunSegmentation();
                //... checking results ...
            }
            
            
            See Also