Search Results

Search found 3 results on 1 pages for 'beckelmw'.

Page 1/1 | 1 

  • C# Drawstring Letter Spacing

    - by beckelmw
    Is is somehow possible to control letter spacing when using Graphics.DrawString? I cannot find any overload to DrawString or Font that would allow me to do so. g.DrawString("MyString", new Font("Courier", 44, GraphicsUnit.Pixel), Brushes.Black, new PointF(262, 638)); By letter spacing I mean the distance between letters. With spacing MyString could look like M y S t r i n g if I added enough space.

    Read the article

  • ASP.NET MVC 2.0 JsonRequestBehavior Global Setting

    - by beckelmw
    ASP.NET MVC 2.0 will now, by default, throw an exception when an action attempts to return JSON in response to a GET request. I know this can be overridden on a method by method basis by using JsonRequestBehavior.AllowGet, but is it possible to set on a controller or higher basis (possibly the web.config)? Update: Per Levi's comment, this is what I ended up using- protected override JsonResult Json(object data, string contentType, System.Text.Encoding contentEncoding) { return Json(data, contentType, JsonRequestBehavior.AllowGet); }

    Read the article

  • DavCInt User Agent and Options Verb Requests

    - by beckelmw
    We are getting quite a few errors in our logs where the user agent is DavCInt and verb is OPTIONS. Does anyone know who/what might be making this type of request? We are using ASP.NET MVC and all of our controller actions are decorated with HttpGet or HttpPost as appropriate so a controller supporting the request is of course not found. I know I can deny verbs in the web.config but I am looking for any insight before I do so.

    Read the article

1