Click or drag to resize

PrintImageEventArgs Class

Provides data for the AfterPrintPage, GetImage and PrintImage events of ImagePrintDocument.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    System.Drawing.PrintingPrintPageEventArgs
      Atalasoft.Imaging.WinControlsPrintImageEventArgs

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class PrintImageEventArgs : PrintPageEventArgs

The PrintImageEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodPrintImageEventArgs
Creates a new instance of PrintImageEventArgs.
Top
Properties
  NameDescription
Public propertyCancel
Gets or sets a value indicating whether the print job should be canceled.
(Inherited from PrintPageEventArgs.)
Public propertyDestRectangle
Gets or sets the destination rectangle.
Public propertyGraphics
Gets the Graphics used to paint the page.
(Inherited from PrintPageEventArgs.)
Public propertyHasMorePages
Gets or sets a value indicating whether an additional page should be printed.
(Inherited from PrintPageEventArgs.)
Public propertyImage
Gets or sets the image to print.
Public propertyImageIndex
Gets or sets the current image being printed.
Public propertyMarginBounds
Gets the rectangular area that represents the portion of the page inside the margins.
(Inherited from PrintPageEventArgs.)
Public propertyCode exampleMinMargins
Gets the minimum margins (in pixels) for the printer being used.
Public propertyPageBounds
Gets the rectangular area that represents the total area of the page.
(Inherited from PrintPageEventArgs.)
Public propertyPageSettings
Gets the page settings for the current page.
(Inherited from PrintPageEventArgs.)
Public propertySourceRectangle
Gets or sets the source rectangle of the image to print.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This class is used by ImagePrintDocument to allow images to be printed in a single print job without having to load all of the images at once.
See Also