我正在将文本转换为图像。有些案文的篇幅比其他的长。下面的代码将我的位图限制在250,30。System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(imgIn); System.Drawing.Fontfont = new System.Drawing.Font("Arial", 10, System.Drawing.Font
在想为什么我不能将System.Drawing.Font转换为MigraDoc.DocumentObjectModel.Font。我需要在我的应用程序中加载特定的字体。\fonts\TitilliumWeb\TitilliumWeb-Black.ttf", out pfc);
System.Drawing.Font titilliumWeb = new System.Drawing.Font