Search Results for

    Show / Hide Table of Contents

    Class PrintOutBitmap

    Inheritance
    object
    PrintOut
    PrintOutNet
    PrintOutBitmap
    Implements
    IDisposable
    Inherited Members
    PrintOutNet.Scale
    PrintOutNet.OptimizeWMF
    PrintOutNet.HardMarginX
    PrintOutNet.HardMarginY
    PrintOutNet.UseHardMargin
    PrintOutNet.Output
    PrintOutNet.Dispose()
    PrintOutNet.TextExtent(TextObjectStruct, Point)
    PrintOutNet.FontFromObject(MetaPage, MetaObjectText)
    PrintOutNet.FontFromStruct(TextObjectStruct)
    PrintOutNet.IntAlignToStringFormat(int, bool, bool, bool)
    PrintOutNet.MetaObjectToStringFormat(MetaObjectText)
    PrintOutNet.MetStructToStringFormat(TextObjectStruct)
    PrintOutNet.DrawString(Graphics, string, Font, Brush, Rectangle, StringFormat)
    PrintOutNet.DrawString(Graphics, string, Font, Brush, float, float, StringFormat)
    PrintOutNet.MeasureString(Graphics, string, Font, SizeF, StringFormat, out int, out int)
    PrintOutNet.DrawObject(Graphics, MetaPage, MetaObject)
    PrintOutNet.TextRectJustify(Graphics, Rectangle, TextObjectStruct, Font, SolidBrush)
    PrintOut.DefaultPrinterName
    PrintOut.ForcePrinterName
    PrintOut.Previewing
    PrintOut.PageSizeArray
    PrintOut.CurrentMetafile
    PrintOut.PRINTOUT_MAX_PAGES
    PrintOut.FromPage
    PrintOut.ToPage
    PrintOut.Copies
    PrintOut.FOrientation
    PrintOut.EmptyReportThrowException
    PrintOut.NoData
    PrintOut.DrawFound
    PrintOut.PageSizeName(int)
    PrintOut.NewDocument(MetaFile)
    PrintOut.EndDocument(MetaFile)
    PrintOut.NewPage(MetaFile, MetaPage)
    PrintOut.EndPage(MetaFile)
    PrintOut.SelectPrinter(PrinterSelectType)
    PrintOut.SetOrientation(OrientationType)
    PrintOut.DrawChart(Series, MetaFile, int, int, object)
    PrintOut.PreparePrint(MetaFile)
    PrintOut.ProcessNoDataToPrint()
    PrintOut.Print(MetaFile)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Drawing
    Assembly: Reportman.Drawing.Windows.dll
    Syntax
    public class PrintOutBitmap : PrintOutNet, IDisposable

    Constructors

    PrintOutBitmap()

    Declaration
    public PrintOutBitmap()

    Methods

    DrawPage(MetaFile, MetaPage)

    Draws all the objects inside a page to the Bitmap Output

    Declaration
    public override void DrawPage(MetaFile meta, MetaPage page)
    Parameters
    Type Name Description
    MetaFile meta

    MetaFile containing the page

    MetaPage page

    MetaFilePage to be drawn into Output

    Overrides
    PrintOutNet.DrawPage(MetaFile, MetaPage)

    ExportToBitmap(MetaFile, bool, int, int, bool, float, float)

    Declaration
    public static Bitmap ExportToBitmap(MetaFile nmeta, bool allpages, int frompage, int topage, bool monoCrome, float horzRes, float vertRes)
    Parameters
    Type Name Description
    MetaFile nmeta
    bool allpages
    int frompage
    int topage
    bool monoCrome
    float horzRes
    float vertRes
    Returns
    Type Description
    Bitmap

    GetPageSize(out int)

    Obtain current page size and also an index to the PageSizeArray

    Declaration
    public override Point GetPageSize(out int indexqt)
    Parameters
    Type Name Description
    int indexqt

    Output parameter, it will be filled with the index inside the PageSizeArray

    Returns
    Type Description
    Point

    Returns the size of the page in twips

    Overrides
    PrintOutNet.GetPageSize(out int)

    GraphicExtent(MemoryStream, Point, int)

    Calculate graphic extent using System.Drawing, the stream must be a valid bitmap

    Declaration
    public override Point GraphicExtent(MemoryStream astream, Point extent, int dpi)
    Parameters
    Type Name Description
    MemoryStream astream

    Memory stream containing a valid bitmap

    Point extent

    Initial extent in twips of the drawing box)

    int dpi

    Dots per inch, resolution of the bitmap

    Returns
    Type Description
    Point

    Final size of the bitmap in twips

    Overrides
    PrintOutNet.GraphicExtent(MemoryStream, Point, int)

    SetPageSize(PageSizeDetail)

    Set page size

    Declaration
    public override Point SetPageSize(PageSizeDetail psize)
    Parameters
    Type Name Description
    PageSizeDetail psize

    Customized page size description

    Returns
    Type Description
    Point

    Returns the size in twips of the page

    Overrides
    PrintOutNet.SetPageSize(PageSizeDetail)

    Implements

    IDisposable
    In this article
    Back to top Generated by DocFX