PrintImage print current image, specifing margins, vertical position, horizonal position.
The size is setted to normal size (autocalculated from original image DPI).
Call PrintImage inside a PrintBegin() and PrintEnd() block.
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void PrintImage( double marginLeft, double marginTop, double marginRight, double marginBottom, IEImage..::..PrintVerticalPos verticalPos, IEImage..::..PrintHorizontalPos horizontalPos, double gammaCorrection )
Public Sub PrintImage ( _ marginLeft As Double, _ marginTop As Double, _ marginRight As Double, _ marginBottom As Double, _ verticalPos As IEImage..::..PrintVerticalPos, _ horizontalPos As IEImage..::..PrintHorizontalPos, _ gammaCorrection As Double _ )
public: void PrintImage( double marginLeft, double marginTop, double marginRight, double marginBottom, IEImage..::..PrintVerticalPos verticalPos, IEImage..::..PrintHorizontalPos horizontalPos, double gammaCorrection )
Parameters
- marginLeft
- Double
the left page margin in inches. Specifing zero no margin are used.
- marginTop
- Double
the top page margin in inches. Specifing zero no margin are used.
- marginRight
- Double
the right page margin in inches. Specifing zero no margin are used.
- marginBottom
- Double
the bottom page margin in inches. Specifing zero no margin are used.
- verticalPos
- IEImage..::..PrintVerticalPos
determines how the image vertically aligns within the page
- horizontalPos
- IEImage..::..PrintHorizontalPos
etermines how the image horizontally aligns within the page
- gammaCorrection
- Double
the gamma correction value, use 1 to disable gamma correction
Examples
CopyC#
IEImage.PrintBegin(); Image1.PrintImage(0,0,0,0,PrintVerticalPos.Center,PrintHorizontalPos.Center,1); IEImage.PrintEnd();