Click here to Skip to main content
15,889,876 members
Home / Discussions / C#
   

C#

 
AnswerRe: Unicode characters in charts in Pdfsharp Pin
Richard Deeming31-Oct-14 2:58
mveRichard Deeming31-Oct-14 2:58 
GeneralRe: Unicode characters in charts in Pdfsharp Pin
Mol4ok2-Nov-14 18:35
Mol4ok2-Nov-14 18:35 
QuestionRedraw Coordinates on Cropped Image Pin
Django_Untaken30-Oct-14 20:51
Django_Untaken30-Oct-14 20:51 
AnswerRe: Redraw Coordinates on Cropped Image Pin
BillWoodruff30-Oct-14 21:02
professionalBillWoodruff30-Oct-14 21:02 
AnswerRe: Redraw Coordinates on Cropped Image Pin
Django_Untaken30-Oct-14 21:11
Django_Untaken30-Oct-14 21:11 
GeneralRe: Redraw Coordinates on Cropped Image Pin
BillWoodruff30-Oct-14 23:09
professionalBillWoodruff30-Oct-14 23:09 
GeneralRe: Redraw Coordinates on Cropped Image Pin
Django_Untaken30-Oct-14 23:47
Django_Untaken30-Oct-14 23:47 
GeneralRe: Redraw Coordinates on Cropped Image Pin
BillWoodruff31-Oct-14 7:13
professionalBillWoodruff31-Oct-14 7:13 
Yes, if you re-position the cropped image, the "dots" will need to be relocated. However, if you did the crop in a way that positioned the cropped image so its new bounding-box was in the same position as that area was in pre-crop, then you would, perhaps, not have to re-position the dots.

If the "dots" are same-sized circles, you'll know that the key offset is the diameter of the circles, and you can re-position based on:

// assuming
private const int diameter = 6;

dotUpperLeft.Location = new Point(image.Left, image.Top);
dotUpperRight.Location = new Point(image.Right - diameter, image.Top);
dotLowerRight.Location = new Point(image.Right - diameter, image.Bottom - diameter);
dotLowerLeft.Location = new Point(image.Left, image.Bottom - diameter);

Does this make sense ?
« I am putting myself to the fullest possible use which is all, I think, that any conscious entity can ever hope to do » HAL (Heuristically programmed ALgorithmic computer) in "2001, A Space Odyssey"

QuestionAnyone familiar with Microsoft.Owin.Cors.CorsMiddleware? Pin
Alaric_30-Oct-14 10:09
professionalAlaric_30-Oct-14 10:09 
AnswerRe: Anyone familiar with Microsoft.Owin.Cors.CorsMiddleware? Pin
Alaric_30-Oct-14 15:38
professionalAlaric_30-Oct-14 15:38 
QuestionText Cursor Pin
OAportelles30-Oct-14 5:05
OAportelles30-Oct-14 5:05 
GeneralRe: Text Cursor Pin
PIEBALDconsult30-Oct-14 5:12
mvePIEBALDconsult30-Oct-14 5:12 
GeneralRe: Text Cursor Pin
OAportelles30-Oct-14 5:16
OAportelles30-Oct-14 5:16 
GeneralRe: Text Cursor Pin
PIEBALDconsult30-Oct-14 5:17
mvePIEBALDconsult30-Oct-14 5:17 
AnswerRe: Text Cursor Pin
Dave Kreskowiak30-Oct-14 5:54
mveDave Kreskowiak30-Oct-14 5:54 
AnswerRe: Text Cursor Pin
Richard MacCutchan30-Oct-14 23:00
mveRichard MacCutchan30-Oct-14 23:00 
QuestionBinding CSV data to a chart - Problem Pin
Member 1119305330-Oct-14 3:56
Member 1119305330-Oct-14 3:56 
QuestionHow to change IP address of web service. Pin
Sachin Malviya30-Oct-14 1:57
Sachin Malviya30-Oct-14 1:57 
AnswerRe: How to change IP address of web service. Pin
OriginalGriff30-Oct-14 2:20
mveOriginalGriff30-Oct-14 2:20 
AnswerRe: How to change IP address of web service. Pin
ZurdoDev30-Oct-14 3:00
professionalZurdoDev30-Oct-14 3:00 
AnswerRe: How to change IP address of web service. Pin
RichardGrimmer30-Oct-14 5:23
RichardGrimmer30-Oct-14 5:23 
GeneralRe: How to change IP address of web service. Pin
Sachin Malviya31-Oct-14 5:08
Sachin Malviya31-Oct-14 5:08 
QuestionHow To Reduce CPU Usage ? Pin
AmbiguousName30-Oct-14 1:43
AmbiguousName30-Oct-14 1:43 
AnswerRe: How To Reduce CPU Usage ? Pin
BillWoodruff30-Oct-14 4:32
professionalBillWoodruff30-Oct-14 4:32 
QuestionMagTek MSR , Magnetic Swipe Reader Pin
Hari-CodeBlogger30-Oct-14 0:48
Hari-CodeBlogger30-Oct-14 0:48 

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.