Thread: Doesn't exist?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    16

    Doesn't exist?

    The type or namespace name 'GetEncoderInfo' does not exist in the namespace 'System.Drawing.Imaging' (are you missing an assembly reference?)

    Code:
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Drawing;
    using System.Drawing.Imaging;
    
    ....
    ....
    ImageCodecInfo jpegCodec = GetEncoderInfo("image/jpeg");
    ....
    ....
    Last I checked, GetEncoderInfo is in System.Drawing.Imaging. What is the problem here?

    Edit: I do have System.Drawing referenced.
    Last edited by Llam4; 04-08-2007 at 08:01 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiler error in whitespace that doesn't even exist
    By beanroaster in forum C++ Programming
    Replies: 2
    Last Post: 09-09-2005, 10:27 PM
  2. namespace does not exist
    By scott27349 in forum C++ Programming
    Replies: 5
    Last Post: 04-18-2003, 08:48 PM
  3. Do aliens EXIST part 2
    By M Prime in forum A Brief History of Cprogramming.com
    Replies: 35
    Last Post: 06-24-2002, 03:40 PM
  4. How to check a directory is exist or not?
    By Unregistered in forum C++ Programming
    Replies: 6
    Last Post: 03-23-2002, 10:13 AM
  5. Checking that a file doesn't exist already
    By Gades in forum C Programming
    Replies: 2
    Last Post: 10-26-2001, 03:00 AM