font.cs
来自「PDF文档生成解析使用的库,可以用来改写自己的文档格式」· CS 代码 · 共 125 行
CS
125 行
using System;
using System.Collections.Generic;
using System.Text;
namespace AnotherPDFLib.XFA
{
/// <summary>
/// A formatting element that describes a font.
/// </summary>
public class font : element_id_extras
{
public font() : base("font") { }
public measurement baselineShift
{
set
{
this.SetAttribute("baselineShift", value);
}
}
public measurement size
{
set
{
this.SetAttribute("size", value);
}
}
public lineStyle lineThrough
{
set
{
this.SetAttribute("lineThrough", value);
}
}
public linePeriod lineThroughPeriod
{
set
{
this.SetAttribute("lineThroughPeriod", value);
}
}
public lineStyle overline
{
set
{
this.SetAttribute("overline", value);
}
}
public linePeriod overlinePeriod
{
set
{
this.SetAttribute("overlinePeriod", value);
}
}
public posture posture
{
set
{
this.SetAttribute("posture", value);
}
}
public string typeface
{
set
{
this.SetAttribute("typeface", value);
}
}
public lineStyle underline
{
set
{
this.SetAttribute("underline", value);
}
}
public linePeriod underlinePeriod
{
set
{
this.SetAttribute("underlinePeriod", value);
}
}
public string weight
{
set
{
this.SetAttribute("weight", value);
}
}
protected fill _fill;
public fill fill
{
get
{
if (_fill == null)
{
_fill = new fill();
this.AddChild(_fill);
}
return _fill;
}
set
{
this.RemoveChild(_fill);
_fill = value;
this.AddChild(_fill);
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?