Search Results for

    Show / Hide Table of Contents

    Class ShapeItem

    A report print item that draws a geometric shape (rectangle, ellipse, line, etc.) with a configurable pen and brush, optionally deriving the fill color from an evaluated expression.

    Inheritance
    object
    ReportItem
    PrintItem
    PrintPosItem
    ShapeItem
    Implements
    IDisposable
    Inherited Members
    PrintPosItem.Section
    PrintPosItem.AnnotationExpression
    PrintPosItem.FillAnnotation(MetaObject, MetaPage)
    PrintPosItem.Hidden
    PrintPosItem.PosX
    PrintPosItem.PosY
    PrintPosItem.Align
    PrintPosItem.PartialFlag
    PrintItem.PrintWidth
    PrintItem.PrintHeight
    PrintItem.Visible
    PrintItem.LastExtent
    PrintItem.SelectionIndex
    PrintItem.SelectionRectangle
    PrintItem.EvaluatePrintCondition()
    PrintItem.SubReportChanged(SubReportEvent, string)
    PrintItem.Print(PrintOut, int, int, int, int, MetaFile, Point, ref bool)
    PrintItem.ExecuteBeforePrint()
    PrintItem.ExecuteAfterPrint()
    PrintItem.Width
    PrintItem.Height
    PrintItem.DoBeforePrint
    PrintItem.DoAfterPrint
    PrintItem.PrintCondition
    ReportItem.SetReport(BaseReport)
    ReportItem.Dispose()
    ReportItem.Name
    ReportItem.Report
    ReportItem.ClassName
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Reporting
    Assembly: Reportman.Reporting.dll
    Syntax
    public class ShapeItem : PrintPosItem, IDisposable

    Constructors

    View Source

    ShapeItem()

    Declaration
    public ShapeItem()

    Properties

    View Source

    BrushColor

    Declaration
    public int BrushColor { get; set; }
    Property Value
    Type Description
    int
    View Source

    BrushColorExpression

    Declaration
    public string BrushColorExpression { get; set; }
    Property Value
    Type Description
    string
    View Source

    BrushStyle

    Declaration
    public BrushType BrushStyle { get; set; }
    Property Value
    Type Description
    BrushType
    View Source

    Color

    Declaration
    public int Color { get; set; }
    Property Value
    Type Description
    int
    View Source

    PenColor

    Declaration
    public int PenColor { get; set; }
    Property Value
    Type Description
    int
    View Source

    PenStyle

    Declaration
    public PenType PenStyle { get; set; }
    Property Value
    Type Description
    PenType
    View Source

    PenWidth

    Declaration
    public int PenWidth { get; set; }
    Property Value
    Type Description
    int
    View Source

    Shape

    Declaration
    public ShapeType Shape { get; set; }
    Property Value
    Type Description
    ShapeType

    Methods

    View Source

    DoPrint(PrintOut, int, int, int, int, MetaFile, Point, ref bool)

    This procedure will print the item into the MetaFile, internal implementation

    Declaration
    protected override void DoPrint(PrintOut adriver, int aposx, int aposy, int newwidth, int newheight, MetaFile metafile, Point MaxExtent, ref bool PartialPrint)
    Parameters
    Type Name Description
    PrintOut adriver

    Report processing driver

    int aposx

    Horizontal position in twips

    int aposy

    Vertical position in twips

    int newwidth

    Width of the bounding box in twips

    int newheight

    Height of the bounding box in twips

    MetaFile metafile

    Destination MetaFile

    Point MaxExtent

    Maximum extension

    bool PartialPrint

    Returns true if some text will expand multiple pages

    Overrides
    PrintItem.DoPrint(PrintOut, int, int, int, int, MetaFile, Point, ref bool)
    View Source

    GetClassName()

    Internal function to determine the object type name

    Declaration
    protected override string GetClassName()
    Returns
    Type Description
    string

    Object type name

    Overrides
    ReportItem.GetClassName()
    View Source

    GetExtension(PrintOut, Point, bool)

    This procedure will return the current size of the printed item

    Declaration
    public override Point GetExtension(PrintOut adriver, Point MaxExtent, bool ForcePartial)
    Parameters
    Type Name Description
    PrintOut adriver

    Report processing driver

    Point MaxExtent

    Maximum extension

    bool ForcePartial
    Returns
    Type Description
    Point
    Overrides
    PrintPosItem.GetExtension(PrintOut, Point, bool)

    Implements

    IDisposable
    • View Source
    In this article
    Back to top Generated by DocFX