CopyRectReplicateBorder() приватный Метод

private CopyRectReplicateBorder ( int SourceImage, int x1, int y1, int x2, int y2, int DestImage ) : int
SourceImage int
x1 int
y1 int
x2 int
y2 int
DestImage int
Результат int
            public CImage CopyRectReplicateBorder(int x1, int y1, int x2, int y2)
            {
                int NewImage = -1;

                CheckForError(FSDK.CreateEmptyImage(ref NewImage));
                CheckForError(FSDK.CopyRectReplicateBorder(hImage, x1, y1, x2, y2, NewImage));
                return(new CImage(NewImage));
            }