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





In This Topic
FxMirrorRounded Method (GdPictureImaging)
In This Topic
Performs a rounded mirror effect on a GdPicture image or on an area of a GdPicture image defined by SetROI() method.
Syntax
'Declaration
 
Public Function FxMirrorRounded( _
   ByVal ImageID As Integer _
) As GdPictureStatus
public GdPictureStatus FxMirrorRounded( 
   int ImageID
)
public function FxMirrorRounded( 
    ImageID: Integer
): GdPictureStatus; 
public function FxMirrorRounded( 
   ImageID : int
) : GdPictureStatus;
public: GdPictureStatus FxMirrorRounded( 
   int ImageID
) 
public:
GdPictureStatus FxMirrorRounded( 
   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
Applying the mirror rounded effect to an 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);
 
    // Apply the mirror rounded effect to an image.
    gdpictureImaging.FxMirrorRounded(imageID);
    gdpictureImaging.SaveAsJPEG(imageID, "image.jpg");
    gdpictureImaging.ReleaseGdPictureImage(imageID);
}
See Also