VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.Print Namespace / WpfImageTilePrintEventArgs Class / WpfImageTilePrintEventArgs Constructor(Boolean,VintasoftImage,Rect,DrawingContext,Rect,Rect)
Syntax Requirements SeeAlso
In This Topic
    WpfImageTilePrintEventArgs Constructor(Boolean,VintasoftImage,Rect,DrawingContext,Rect,Rect)
    In This Topic
    Initializes a new instance of the WpfImageTilePrintEventArgs class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal isPreview
    A value indicating whether the WpfImagePrintManager is used for print preview.
    As Boolean, _
    ByVal sourceImage
    The VintasoftImage to print.
    As Vintasoft.Imaging.VintasoftImage, _
    ByVal sourceImageRect
    A System.Windows.Rect structure that defines an area on the image, in pixels, which is printed on the current page.
    As System.Windows.Rect, _
    ByVal drawingContext
    A DrawingContext used to paint the page.
    As System.Windows.Media.DrawingContext, _
    ByVal imageArea
    A System.Windows.Rect structure that defines an area on the page, in device-independent pixels (1/96th inch), within which the image can be printed. This area is defined by page and image paddings.
    As System.Windows.Rect, _
    ByVal imageRect
    A System.Windows.Rect structure that defines exact area on the page, in device-independent pixels (1/96th inch), within which the image will be printed. This area will always be equal or within imageArea.
    As System.Windows.Rect _
    )

    Parameters

    isPreview
    A value indicating whether the WpfImagePrintManager is used for print preview.
    sourceImage
    The VintasoftImage to print.
    sourceImageRect
    A System.Windows.Rect structure that defines an area on the image, in pixels, which is printed on the current page.
    drawingContext
    A DrawingContext used to paint the page.
    imageArea
    A System.Windows.Rect structure that defines an area on the page, in device-independent pixels (1/96th inch), within which the image can be printed. This area is defined by page and image paddings.
    imageRect
    A System.Windows.Rect structure that defines exact area on the page, in device-independent pixels (1/96th inch), within which the image will be printed. This area will always be equal or within imageArea.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also