Here are the examples of the csharp api class System.Drawing.Font.ToString() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
1. Example
Project: dp2
Source File: LabelParam.cs
Source File: LabelParam.cs
public override string ToString() { StringBuilder text = new StringBuilder(); text.Append("Font=" + (this.Font != null ? this.Font.ToString() : "{null}") + "\r\n"); text.Append("Align=" + this.Align + "\r\n"); text.Append("IsBarcodeFont=" + this.IsBarcodeFont + "\r\n"); text.Append("StartX=" + this.StartX + "\r\n"); text.Append("StartY=" + this.StartY + "\r\n"); text.Append("OffsetX=" + this.OffsetX + "\r\n"); text.Append("OffsetY=" + this.OffsetY + "\r\n"); text.Append("Width=" + this.Width + "\r\n"); text.Append("Height=" + this.Height + "\r\n"); text.Append("ForeColor=" + this.ForeColor + "\r\n"); text.Append("BackColor=" + this.BackColor + "\r\n"); text.Append("Style=" + this.Style + "\r\n"); return text.ToString(); }
0
2. Example
Project: KeeThief
Source File: UISystemFonts.cs
Source File: UISystemFonts.cs
private static void EnsureInitialized() { if(m_bInitialized) return; if(NativeLib.IsUnix()) { try { UnixLoadFonts(); } catch(Exception) { Debug.Assert(false); } } if(m_fontUI == null) m_fontUI = SystemFonts.DefaultFont; if(m_fontList == null) { if(UIUtil.VistaStyleListsSupported) { string str1 = SystemFonts.IconTitleFont.ToString(); string str2 = SystemFonts.StatusFont.ToString(); if(str1 == str2) m_fontList = SystemFonts.StatusFont; else m_fontList = m_fontUI; } else m_fontList = m_fontUI; } m_bInitialized = true; }
0
3. Example
Project: barcodelib
Source File: BarcodeLib.cs
Source File: BarcodeLib.cs
private string GetXML() { if (EncodedValue == "") throw new Exce/n ..... /n //View Source file for more details /n }