T_im Posted November 23, 2005 Posted November 23, 2005 Hi, I wanto put all the available paper types in a combo box. How can I iterate though types in System.Drawing.Printing.PaperKind and add them to a combo box? cheers tim Quote
Cags Posted November 23, 2005 Posted November 23, 2005 You can use the following code however there are hundreds of paper types and it would take some navigating for the user. foreach (string sPaperKind in Enum.GetNames(typeof(System.Drawing.Printing.PaperKind))) { comboBox1.Items.Add(sPaperKind); } Quote Anybody looking for a graduate programmer (Midlands, England)?
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.