AForge.Imaging.Formats.PNMImageInfo.Clone C# (CSharp) Method

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object
        public override object Clone( )
        {
            PNMImageInfo clone = new PNMImageInfo( width, height, bitsPerPixel, frameIndex, totalFrames );

            clone.version = version;
            clone.maxDataValue = maxDataValue;

            return clone;
        }
    }