Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Richard MacCutchan25-May-12 6:41
mveRichard MacCutchan25-May-12 6:41 
GeneralRe: Emgu CV, problem with wrapper for OpenCV Pin
Sissi198725-May-12 8:29
Sissi198725-May-12 8:29 
Questionc# combo box binding Pin
Pubudini3424-May-12 0:39
Pubudini3424-May-12 0:39 
AnswerRe: c# combo box binding Pin
Cracked-Down24-May-12 1:17
Cracked-Down24-May-12 1:17 
GeneralRe: c# combo box binding Pin
Pubudini3424-May-12 2:07
Pubudini3424-May-12 2:07 
AnswerRe: c# combo box binding Pin
Cracked-Down24-May-12 3:05
Cracked-Down24-May-12 3:05 
GeneralRe: c# combo box binding Pin
Pubudini3424-May-12 3:34
Pubudini3424-May-12 3:34 
GeneralRe: c# combo box binding Pin
Cracked-Down24-May-12 4:05
Cracked-Down24-May-12 4:05 
GeneralRe: c# combo box binding Pin
Pubudini3424-May-12 6:45
Pubudini3424-May-12 6:45 
GeneralRe: c# combo box binding Pin
Pubudini3424-May-12 8:02
Pubudini3424-May-12 8:02 
SuggestionRe: c# combo box binding Pin
Cracked-Down24-May-12 19:06
Cracked-Down24-May-12 19:06 
QuestionC# - Email Account Verification Pin
Cristian Capannini24-May-12 0:19
Cristian Capannini24-May-12 0:19 
AnswerRe: C# - Email Account Verification Pin
Richard MacCutchan24-May-12 3:10
mveRichard MacCutchan24-May-12 3:10 
QuestionC# windows service.. Pin
babasateesh23-May-12 23:53
babasateesh23-May-12 23:53 
AnswerRe: C# windows service.. Pin
Ravi Bhavnani24-May-12 2:11
professionalRavi Bhavnani24-May-12 2:11 
QuestionDate filter in DataView Pin
Paul Bullimore23-May-12 22:11
Paul Bullimore23-May-12 22:11 
AnswerRe: Date filter in DataView Pin
Eddy Vluggen24-May-12 0:31
professionalEddy Vluggen24-May-12 0:31 
GeneralRe: Date filter in DataView Pin
BobJanova24-May-12 0:51
BobJanova24-May-12 0:51 
AnswerRe: Date filter in DataView Pin
Eddy Vluggen24-May-12 1:00
professionalEddy Vluggen24-May-12 1:00 
GeneralRe: Date filter in DataView Pin
Paul Bullimore24-May-12 1:46
Paul Bullimore24-May-12 1:46 
AnswerRe: Date filter in DataView Pin
Luc Pattyn24-May-12 3:01
sitebuilderLuc Pattyn24-May-12 3:01 
AnswerRe: Date filter in DataView Pin
Paul Bullimore24-May-12 21:22
Paul Bullimore24-May-12 21:22 
QuestionCan I use Font like a photoshop? Pin
Member 832808023-May-12 15:51
Member 832808023-May-12 15:51 
AnswerRe: Can I use Font like a photoshop? Pin
OriginalGriff23-May-12 19:25
mveOriginalGriff23-May-12 19:25 
Assuming this is WinForms, not WPF, you can apply a matrix transform to the graphics context, which will stretch everything in one direction:
C#
Font font = new Font("Verdana", 12.0F);
private void myPanel_Paint(object sender, PaintEventArgs e)
    {
    Graphics g = e.Graphics;
    g.DrawString("Hello", font, Brushes.Black, 10, 10);
    Matrix m = new Matrix();
    m.Scale(2, 1);
    g.Transform = m;
    g.DrawString("Hello", font, Brushes.Black, 10, 30);
    g.ResetTransform();
    m = new Matrix();
    m.Scale(1.5F, 1);
    g.Transform = m;
    g.DrawString("Hello", font, Brushes.Black, 10, 60);
    g.ResetTransform();
    }

I suspect that WPF could do this pretty easily (but there is a learning curve associated with WPF).
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

GeneralThanks you for your advise. but I can't use this way. Pin
Member 832808023-May-12 23:14
Member 832808023-May-12 23:14 

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.