WinHtmlEditor/Common/HtmlFontProperty.cs
(开头部分) 23KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
#region Using directives
using System;
using System.Collections;
using System.Text.RegularExpressions;
using System.Globalization;
using System.Threading;
using System.Reflection;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.ComponentModel.Design.Serialization;
#endregion
namespace WinHtmlEditor
{
#region HtmlFontSize enumeration
/// <summary>
/// Enum used to modify the font size
/// </summary>
public enum HtmlFontSize
{
Default = 0,
xxSmall = 1, // 8 points
xSmall = 2, // 10 points
Small = 3, // 12 points
Medium = 4, // 14 points
Large = 5, // 18 points
xLarge = 6, // 24 points
xxLarge = 7 // 36 points
} //HtmlFontSize
#endregion
#region HtmlFontProperty struct
/// <summary>
/// Struct used to define a Html Font
/// Supports Name Size Bold Italic Subscript Superscript Strikeout
/// Specialized TypeConvertor used for Designer Support
/// If Name is Empty or Null Struct is consider Null
/// </summary>
[Serializable]
[TypeConverter(typeof(HtmlFontPropertyConverter))]
public struct HtmlFontProperty
{
// properties defined for the Font
private string _name;
private HtmlFontSize _size;
private bool _bold;
private bool _italic;
private bool _underline;
private bool _strikeout;
private bool _subscript;
private bool _superscript;
后面还有 685 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。