📄 tlmcelldef.cs
字号:
using System;
using System.Diagnostics;
// Creation date: 01.05.2003
// Checked: 11.06.2003
// Author: Otto Mayer (mot@root.ch)
// Version: 1.02
// Report.NET copyright 2003-2004 root-software ag, B黵glen Switzerland - O. Mayer, S. Spirig, R. Gartenmann, all rights reserved
// This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation, version 2.1 of the License.
// This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You
// should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA www.opensource.org/licenses/lgpl-license.html
namespace Root.Reports {
/// <summary>Definition of the cell properties</summary>
/// <remarks>
/// When a new row is initialized, a new cell will be created for each column according to the cell create type <see cref="TlmBase.CellCreateType"/>.
/// </remarks>
public abstract class TlmCellDef {
//----------------------------------------------------------------------------------------------------x
/// <summary>Creates a cell data object.</summary>
internal TlmCellDef() {
}
//----------------------------------------------------------------------------------------------------x
// Layout
//----------------------------------------------------------------------------------------------------x
private Double _rAlignH = Double.NaN;
/// <summary>Gets or sets the horizontal alignment of the cell contents (default: left)</summary>
/// <value>Horizontal alignment: value between 0 and 1, 0:left <see cref="RepObj.rAlignLeft"/>, 0.5:centered <see cref="RepObj.rAlignCenter"/>, 1:right <see cref="RepObj.rAlignRight"/></value>
public virtual Double rAlignH {
get { return _rAlignH; }
set { _rAlignH = value; }
}
/// <summary>Vertical alignment of the cell contents (default: top)</summary>
public Double rAlignV = Double.NaN;
private Double _rAngle = Double.NaN;
/// <summary>Gets or sets the angle of the cell contents (default: 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -