123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace HTEXLib
- {
- public class TextBody
- {
- public List<Paragraph> paragraphs { get; set; }
- /// <summary>
- /// 垂直布局 Top 0,Center 1 , Bootom 2
- /// </summary>
- public string anchor { get; set; }
- /// <summary>
- /// 水平布局 水平居中anchorCt
- /// </summary>
- public bool anchorCtr { get; set; }
- // 书写方向 false 从左到右书写,true从右到左
- public bool rtlCol { get; set; }
- /// <summary>
- /// square 不溢出, none 溢出
- /// </summary>
- public string wrap { get; set; }
- /// <summary>
- /// "horz". 横向水平排版 默认
- /// "vert". 顺时针旋转90 ,多一行则向左前进
- /// "vert270". 顺时针旋转270,多一行则向右前进
- /// |------
- /// |---1
- /// |---2
- /// |---3
- /// 》》》》》
- /// |
- /// |123
- /// ||||
- /// ||||
- /// -------
- /// "wordArtVert". 堆积从左到右
- /// "wordArtVertRtl".堆积从右到左
- /// "eaVert". 垂直90度书写
- /// "mongolianVert". 垂直书写,从左到右
- /// </summary>
- public string vert { get; set; } = "horz";
- /// <summary>
- /// 旋转角度
- /// </summary>
- public double rot { get; set; } = 0;
- /// <summary>
- /// autoFit 大于 wrap设定
- /// true 每个形状的文本都停留在该形状的范围内
- /// flase 此元素指定文本主体内的文本不应自动适合于边框。
- /// </summary>
- public bool autoFit { get; set; } = true;
- public double top { get; set; }
- public double bottom { get; set; }
- public double left { get; set; }
- public double right { get; set; }
- public double lnSpRn { get; set; } = 0;
- }
- }
|