PrintImage print current image, specifing margins, vertical position, horizonal position and size.
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, IEImage..::..PrintSize size, double specWidth, double specHeight, 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, _ size As IEImage..::..PrintSize, _ specWidth As Double, _ specHeight As Double, _ gammaCorrection As Double _ )
public: void PrintImage( double marginLeft, double marginTop, double marginRight, double marginBottom, IEImage..::..PrintVerticalPos verticalPos, IEImage..::..PrintHorizontalPos horizontalPos, IEImage..::..PrintSize size, double specWidth, double specHeight, 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
- size
- IEImage..::..PrintSize
determines the size of the image
- specWidth
- Double
specify the absolute width of the image in inches. Valid only when size=SpecifiedSize
- specHeight
- Double
specify the absolute height of the image in inches. Valid only when size=SpecifiedSize
- 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,PrintSize.SpecifiedSize,3,3,1); IEImage.PrintEnd();