Class Ruler
Inherited Members
Namespace: Reportman.Drawing.Forms
Assembly: Reportman.Drawing.Forms.dll
Syntax
public class Ruler : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Constructors
Ruler()
Declaration
public Ruler()
Properties
BackgroundColor
Declaration
public Color BackgroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Border
Declaration
public RulerBorder Border { get; set; }
Property Value
| Type | Description |
|---|---|
| RulerBorder |
ForeGroundColor
Declaration
public Color ForeGroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Metrics
Declaration
public Units Metrics { get; set; }
Property Value
| Type | Description |
|---|---|
| Units |
RulerScale
Declaration
public double RulerScale { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Style
Declaration
public RulerStyle Style { get; set; }
Property Value
| Type | Description |
|---|---|
| RulerStyle |
Methods
Dispose(bool)
Limpiar los recursos que se estén utilizando.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | true si los recursos administrados se deben eliminar; false en caso contrario, false. |
Overrides
OnPaint(PaintEventArgs)
Declaration
protected override void OnPaint(PaintEventArgs pe)
Parameters
| Type | Name | Description |
|---|---|---|
| PaintEventArgs | pe |
Overrides
PaintRuler(Graphics, Units, double, RulerStyle, Brush, Pen, Font, Rectangle, int, int)
Declaration
public static void PaintRuler(Graphics gr, Units Metrics, double Scale, RulerStyle Style, Brush brush, Pen pen, Font font, Rectangle rect, int dpix, int dpiy)
Parameters
| Type | Name | Description |
|---|---|---|
| Graphics | gr | |
| Units | Metrics | |
| double | Scale | |
| RulerStyle | Style | |
| Brush | brush | |
| Pen | pen | |
| Font | font | |
| Rectangle | rect | |
| int | dpix | |
| int | dpiy |