Click here to Skip to main content
15,886,095 members
Home / Discussions / C#
   

C#

 
GeneralRe: Find the not-existing element in int arrays. Pin
himanshu256124-Jun-09 1:12
himanshu256124-Jun-09 1:12 
GeneralRe: Find the not-existing element in int arrays. Pin
CodingLover28-Jun-09 20:44
CodingLover28-Jun-09 20:44 
GeneralRe: Find the not-existing element in int arrays. Pin
Dust Signs29-Jun-09 4:53
Dust Signs29-Jun-09 4:53 
AnswerRe: Find the not-existing element in int arrays. Pin
PIEBALDconsult24-Jun-09 4:53
mvePIEBALDconsult24-Jun-09 4:53 
Questionmeasure string Pin
nryk24-Jun-09 0:23
nryk24-Jun-09 0:23 
AnswerRe: measure string Pin
AndrewVos24-Jun-09 0:26
AndrewVos24-Jun-09 0:26 
GeneralRe: measure string Pin
nryk24-Jun-09 0:48
nryk24-Jun-09 0:48 
AnswerRe: measure string Pin
Pete O'Hanlon24-Jun-09 1:05
mvePete O'Hanlon24-Jun-09 1:05 
You don't need to receive a Graphics object to use one in your method. What you could do is create a 1 by 1 bitmap, and then retrieve the Graphics object from that.
using (Bitmap img = new Bitmap(1,1))
{
  float resolution = 300;
  img.SetResolution(resolution, resolution);
  using (Graphics g = Graphics.FromImage(img))
  {
    // We have a graphics object that we can use now.
  }
}


"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



AnswerRe: measure string Pin
Ennis Ray Lynch, Jr.24-Jun-09 3:05
Ennis Ray Lynch, Jr.24-Jun-09 3:05 
QuestionDebugging Pin
frommi24-Jun-09 0:15
frommi24-Jun-09 0:15 
AnswerRe: Debugging Pin
Manas Bhardwaj24-Jun-09 0:24
professionalManas Bhardwaj24-Jun-09 0:24 
Questionc# Pin
Balaji Pawar23-Jun-09 23:53
Balaji Pawar23-Jun-09 23:53 
AnswerRe: c# Pin
Sk9323-Jun-09 23:55
Sk9323-Jun-09 23:55 
GeneralRe: c# Pin
Balaji Pawar24-Jun-09 5:48
Balaji Pawar24-Jun-09 5:48 
GeneralRe: c# Pin
Sk9324-Jun-09 5:52
Sk9324-Jun-09 5:52 
AnswerRe: c# Pin
Manas Bhardwaj24-Jun-09 0:26
professionalManas Bhardwaj24-Jun-09 0:26 
Questionupdate query in windows application with ms access as database Pin
J.K.Sharma23-Jun-09 23:20
J.K.Sharma23-Jun-09 23:20 
AnswerRe: update query in windows application with ms access as database Pin
Sk9323-Jun-09 23:26
Sk9323-Jun-09 23:26 
GeneralRe: update query in windows application with ms access as database Pin
Robert_Pan24-Jun-09 0:12
Robert_Pan24-Jun-09 0:12 
GeneralRe: update query in windows application with ms access as database Pin
J.K.Sharma24-Jun-09 21:41
J.K.Sharma24-Jun-09 21:41 
GeneralRe: crystal report problem Pin
J.K.Sharma24-Jun-09 21:48
J.K.Sharma24-Jun-09 21:48 
GeneralRe: crystal report problem Pin
Sk9324-Jun-09 21:53
Sk9324-Jun-09 21:53 
GeneralRe: crystal report problem Pin
J.K.Sharma24-Jun-09 22:08
J.K.Sharma24-Jun-09 22:08 
AnswerRe: crystal report problem Pin
Sk9324-Jun-09 22:36
Sk9324-Jun-09 22:36 
AnswerRe: update query in windows application with ms access as database Pin
Christian Graus23-Jun-09 23:42
protectorChristian Graus23-Jun-09 23:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.