2025-10-17 16:45:00 +08:00

38 lines
962 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Teigha.Geometry;
namespace SWS.CAD.Base
{
public class DtoTextInfo
{
/// <summary>
/// 坐标
/// </summary>
public Point3d Position { get; set; }
/// <summary>
/// 是否为多行文本
/// </summary>
public bool IsMText { get; set; }
/// <summary>
/// 文本内容,多行文本用\n 进行换行
/// </summary>
public string Text { get; set; }
/// <summary>
/// 文本高度
/// </summary>
public double Height { get; set; }
/// <summary>
/// 文本宽度
/// </summary>
public double Width { get; set; }
/// <summary>
/// 文本对齐方式 0:居左对齐 1居中对齐
/// </summary>
public double Align { get; set; }
}
}