📄 baserectangleitem.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2032
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
/// <summary>
/// This class draws a Rectangle
/// </summary>
/// <remarks>
/// created by - Forstmeier Peter
/// created on - 29.09.2005 11:57:30
/// </remarks>
namespace SharpReportCore {
public class BaseRectangleItem : SharpReportCore.BaseGraphicItem {
RectangleShape shape = new RectangleShape();
public BaseRectangleItem() {
}
public override void Render(ReportPageEventArgs rpea) {
base.Render(rpea);
RectangleF rect = base.DrawingRectangle (rpea,this.Size);
shape.FillShape(rpea.PrintPageEventArgs.Graphics,
new SolidFillPattern(this.BackColor),
rect);
shape.DrawShape (rpea.PrintPageEventArgs.Graphics,
new BaseLine (this.ForeColor,base.DashStyle,base.Thickness),
rect);
}
public override string ToString() {
return "BaseRectangleItem";
}
#region System.IDisposable interface implementation
// public override void Dispose() {
// base.Dispose();
// for (int i = 0; i < arrayList.Count;i ++ ) {
// IComponent curObj = (IComponent)arrayList[i];
// curObj.Dispose();
// }
// arrayList = null;
// }
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -