Search Results for

    Show / Hide Table of Contents

    Class RulerWithGuides

    Represent ruler with guides for forms of editors

    Inheritance
    System.Object
    System.MarshalByRefObject
    System.ComponentModel.Component
    System.Windows.Forms.Control
    FastReport.Editor.EditRuler
    RulerWithGuides
    Implements
    FastReport.Editor.IEditRuler
    FastReport.Editor.Common.IControl
    Inherited Members
    FastReport.Editor.EditRuler.leftIndent
    FastReport.Editor.EditRuler.rightIndent
    FastReport.Editor.EditRuler.cRulerTop
    FastReport.Editor.EditRuler.cRulerHeight
    FastReport.Editor.EditRuler.cTenthMMPerInch
    FastReport.Editor.EditRuler.cPointsPerInt
    FastReport.Editor.EditRuler.Assign(FastReport.Editor.IEditRuler)
    FastReport.Editor.EditRuler.GetRulerStep()
    FastReport.Editor.EditRuler.WndProc(System.Windows.Forms.Message)
    FastReport.Editor.EditRuler.CancelDragging()
    FastReport.Editor.EditRuler.ResetOptions()
    FastReport.Editor.EditRuler.ResetUnits()
    FastReport.Editor.EditRuler.ResetIndentBackColor()
    FastReport.Editor.EditRuler.MarkWidth
    FastReport.Editor.EditRuler.PageStart
    FastReport.Editor.EditRuler.PageWidth
    FastReport.Editor.EditRuler.RulerStart
    FastReport.Editor.EditRuler.RulerWidth
    FastReport.Editor.EditRuler.Options
    FastReport.Editor.EditRuler.Units
    FastReport.Editor.EditRuler.IndentBackColor
    FastReport.Editor.EditRuler.Vertical
    FastReport.Editor.EditRuler.IsDragging
    FastReport.Editor.EditRuler.Change
    Namespace: FastReport.Design.PageDesigners.Page
    Assembly: FastReport.dll
    Syntax
    public class RulerWithGuides : EditRuler, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IEditRuler, IControl

    Properties

    LeftIndent

    Get or set left indent position

    Declaration
    public int LeftIndent { get; set; }
    Property Value
    Type Description
    System.Int32

    RightIndent

    Get or set right indent position

    Declaration
    public int RightIndent { get; set; }
    Property Value
    Type Description
    System.Int32

    TabPositions

    Gets or sets tab positiions

    Declaration
    public int[] TabPositions { get; set; }
    Property Value
    Type Description
    System.Int32[]

    Methods

    DrawGuides(Object, PaintEventArgs)

    Method for drawing guides on element of form.

    Declaration
    public void DrawGuides(object sender, PaintEventArgs e)
    Parameters
    Type Name Description
    System.Object sender
    System.Windows.Forms.PaintEventArgs e

    GetIndentHitRect(RulerIndent)

    Declaration
    protected override Rectangle GetIndentHitRect(RulerIndent Indent)
    Parameters
    Type Name Description
    FastReport.Editor.RulerIndent Indent
    Returns
    Type Description
    System.Drawing.Rectangle
    Overrides
    FastReport.Editor.EditRuler.GetIndentHitRect(FastReport.Editor.RulerIndent)

    GetIndentRect(RulerIndent)

    Declaration
    protected override Rectangle GetIndentRect(RulerIndent indent)
    Parameters
    Type Name Description
    FastReport.Editor.RulerIndent indent
    Returns
    Type Description
    System.Drawing.Rectangle
    Overrides
    FastReport.Editor.EditRuler.GetIndentRect(FastReport.Editor.RulerIndent)

    InitLayout()

    Declaration
    protected override void InitLayout()
    Overrides
    System.Windows.Forms.Control.InitLayout()

    OnChange(Object)

    Declaration
    protected override void OnChange(object sender)
    Parameters
    Type Name Description
    System.Object sender
    Overrides
    FastReport.Editor.EditRuler.OnChange(System.Object)

    OnDoubleClick(EventArgs)

    Declaration
    protected override void OnDoubleClick(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    System.Windows.Forms.Control.OnDoubleClick(System.EventArgs)

    OnHandleDestroyed(EventArgs)

    Declaration
    protected override void OnHandleDestroyed(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    System.Windows.Forms.Control.OnHandleDestroyed(System.EventArgs)

    OnMouseCaptureChanged(EventArgs)

    Declaration
    protected override void OnMouseCaptureChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    System.Windows.Forms.Control.OnMouseCaptureChanged(System.EventArgs)

    OnMouseDown(MouseEventArgs)

    Declaration
    protected override void OnMouseDown(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e
    Overrides
    FastReport.Editor.EditRuler.OnMouseDown(System.Windows.Forms.MouseEventArgs)

    OnMouseMove(MouseEventArgs)

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e
    Overrides
    FastReport.Editor.EditRuler.OnMouseMove(System.Windows.Forms.MouseEventArgs)

    OnMouseUp(MouseEventArgs)

    Declaration
    protected override void OnMouseUp(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e
    Overrides
    FastReport.Editor.EditRuler.OnMouseUp(System.Windows.Forms.MouseEventArgs)

    OnPaint(PaintEventArgs)

    Declaration
    protected override void OnPaint(PaintEventArgs pe)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs pe
    Overrides
    FastReport.Editor.EditRuler.OnPaint(System.Windows.Forms.PaintEventArgs)

    Implements

    FastReport.Editor.IEditRuler
    FastReport.Editor.Common.IControl

    Extension Methods

    UIUtils.DrawImageAndText(Control, DrawItemEventArgs, Image, String)
    UIUtils.DrawVisualStyleBorder(Control, Graphics, Rectangle)
    UIUtils.Dpi(Control)
    UIUtils.DpiMultiplier(Control)
    UIUtils.FontDpiMultiplier(Control)
    UIUtils.LogicalToDevice(Control, Int32)
    UIUtils.LogicalToDevice(Control, Single)
    UIUtils.LogicalToDevice(Control, Rectangle)
    UIUtils.LogicalToDevice(Control, Point)
    UIUtils.LogicalToDevice(Control, Size)
    UIUtils.LogicalToDevice(Control, Font, Boolean)
    UIUtils.GetImage(Control, Int32)
    UIUtils.GetImage(Control, String)
    UIUtils.GetImages(Control)
    Back to top © 1998-2025 Copyright Fast Reports Inc.