Ghostscript.NET.Viewer.GhostscriptViewerImage.GhostscriptViewerImage C# (CSharp) Method

GhostscriptViewerImage() public method

public GhostscriptViewerImage ( int width, int height, int stride, PixelFormat format ) : System
width int
height int
stride int
format PixelFormat
return System
        public GhostscriptViewerImage(int width, int height, int stride, PixelFormat format)
        {
            _width = width;
            _height = height;
            _stride = stride;

            _rect = new Rectangle(0, 0, _width, _height);

            _bitmap = new Bitmap(width, height, format);
        }