BN089-BS开发框架MVC4版/source20131023/Zephyr.Net/Zephyr.Utils/Document/PDF/Gios/PdfObjects/PdfFlowTextArea.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Drawing;
namespace Zephyr.Utils.Gios.Pdf
{
/// <summary>
/// Describes a Flow Text Area for writing text without use Pdf positioning.
/// </summary>
public class PdfFlowTextArea : PdfObject
{
private double posX,posY;
private double endX,endY;
private double startX,startY;
private double interline;
internal ArrayList Fonts;
Font ActualFont;Color ActualColor;
internal string Stream;
/// <summary>
/// gets the Actual X position of the writer.
/// </summary>
public double PosX
{
get
{
return this.posX;
}
}
/// <summary>
/// gets the Actual Y position of the writer.
/// </summary>
public double PosY
{
get
{
return this.posY;
}
}
/// <summary>
/// Creates a new Flow Text Area.
/// </summary>
/// <param name="TextArea">the PdfArea which will contains the Text.</param>
/// <param name="Font">the starting Font of the writings.</param>
/// <param name="Color">the starting Color of the writings.</param>
public PdfFlowTextArea(PdfArea TextArea,Font Font,Color Color)
{
this.Stream="";
this.posX=TextArea.PosX;
this.posY=TextArea.PosY;
this.startX=TextArea.PosX;
this.startY=TextArea.PosY;
this.endX=TextArea.BottomRightCornerX;
this.endY=TextArea.BottomRightCornerY;
this.interline=Font.Size*1.6;
this.Fonts=new ArrayList();
this.SetColor(Color);
this.SetFont(Font);
}
/// <summary>
/// Creates a new Flow Text Area.
后面还有 227 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。