Search Results for

    Show / Hide Table of Contents

    Class DataGridViewPrint

    Builds a Report from the contents of a Windows Forms DataGridView (including tree grids), mapping its columns, cell alignment, images, check boxes and row styling into report sections so the grid can be printed or previewed.

    Inheritance
    object
    DataGridViewPrint
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Reporting.Forms
    Assembly: Reportman.Reporting.Forms.dll
    Syntax
    public class DataGridViewPrint

    Constructors

    View Source

    DataGridViewPrint()

    Declaration
    public DataGridViewPrint()

    Methods

    View Source

    GetImageStreamFromObject(object)

    Declaration
    public static MemoryStream GetImageStreamFromObject(object nobj)
    Parameters
    Type Name Description
    object nobj
    Returns
    Type Description
    MemoryStream
    View Source

    PrepareReport(Report, DataGridView, DataGridViewPrintOptions)

    Declaration
    public static void PrepareReport(Report nreport, DataGridView ngrid, DataGridViewPrintOptions opts)
    Parameters
    Type Name Description
    Report nreport
    DataGridView ngrid
    DataGridViewPrintOptions opts
    View Source

    SetAlignFromCellFormat(DataGridViewContentAlignment, PrintItemText)

    Declaration
    public static void SetAlignFromCellFormat(DataGridViewContentAlignment nalign, PrintItemText nitem)
    Parameters
    Type Name Description
    DataGridViewContentAlignment nalign
    PrintItemText nitem
    • View Source
    In this article
    Back to top Generated by DocFX