<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>monakaice88</author_name>
  <author_url>https://blog.hatena.ne.jp/monakaice88/</author_url>
  <blog_title>もなかアイスの試食品</blog_title>
  <blog_url>https://monakaice88.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>C#で文字をイメージとして描写するときの「文字の画像」のサイズを取得する方法を紹介イメージ内の文字列の改行で結構使ったので，忘れないうちにメモ書きｃ⌒っﾟдﾟ)っφ ﾒﾓﾒﾓ... using System.Drawing; //←「参照の追加」，usingの追加必要 /// &lt;summary&gt; /// 描写時の文字列の画像の幅を返します /// &lt;/summary&gt; /// &lt;param name=&quot;str&quot;&gt;描写する文字列&lt;/param&gt; /// &lt;returns&gt;描写する文字列の幅&lt;/returns&gt; private double fontSize(string str) { //文字サ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmonakaice88.hatenablog.com%2Fentry%2F20121217%2F1355676182&quot; title=&quot;文字列描写時の大きさを取得する - もなかアイスの試食品&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://capture.heartrails.com/150x130/shadow?http://dobon.net/vb/dotnet/graphics/measurestring.html</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-12-17 01:43:02</published>
  <title>文字列描写時の大きさを取得する</title>
  <type>rich</type>
  <url>https://monakaice88.hatenablog.com/entry/20121217/1355676182</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
