
|
ImgEdit Class Library ImgEdit.Print(Boolean,[Boolean],[Boolean]) ImgEdit.Print(Integer,Boolean,[Boolean],[Boolean]) |
Prints all the pages of the image.
|
[Visual Basic] Public Sub Print( _ ByVal WithAnnotations As Boolean, _ Optional ByVal FitToPage As Boolean = False _ Optional ByVal ShowPrinterSettings As Boolean = True ) |
Parameters
WithAnnotations
If true all pages will be printed with the existing annotations.
FitToPage
If true the image will be resized to the paper size.
This parameter is optional.
ShowPrinterSettings
If false the control will use the system default printer with the printer settings.
This parameter is optional.
Return Value
None
|
[Visual Basic] Public Sub Print( _ ByVal Page As Integer _ ByVal WithAnnotations As Boolean, _ Optional ByVal FitToPage As Boolean _ Optional ByVal ShowPrinterSettings As Boolean = True ) |
Parameters
Page
The number of the page to print.
WithAnnotations
If true all pages will be printed with the existing annotations.
FitToPage
If true the image will be resized to the paper size.
This parameter is optional.
ShowPrinterSettings
If false the control will use the system default printer with the printer settings.
This parameter is optional.
Return Value
None
Example
[Visual Basic] The following example prints all the pages of the displayed image without annotations .
|
[Visual Basic] ImgEdit1.Print(False) |
Example
[Visual Basic] The following example prints the page number 1 with annotations, fitting the image on the page and without the printer dialog .
|
[Visual Basic] ImgEdit1.Print(1,True,True,False) |
Requirements
Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista family.
Documentation Version 1.6