
|
ImgEdit Class Library ImgEdit.ReplacePage(System.Drawing.Bitmap,Integer,[Boolean]) |
Replaces one page in a displayed multipage image.
|
[Visual Basic] Public Sub ReplacePage( _ ByVal bmp As System.Drawing.Bitmap, _ ByVal Page As Integer, _ Optional ByVal AutoSave As Boolean = False) |
Parameters
bmp
The image bitmap that will replace the page.
Page
The number of the page to be replaced.
AutoSave
Auto saves the image file. This parameter is optional.
Return Value
None.
Example
[Visual Basic] The following example replaces the first page with an image bitmap.
|
[Visual Basic] Dim mybmp as New System.Drawing.Bitmap ("C:\Test\01.tif") ImgEdit1.ReplacePage(mybmp,0) |
Note: Annotations will not be saved upon inserting, appending, deleting, moving and using the RotateFlip_AutoSave pages. The file must be saved using the save function.
Requirements
Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista family.
Documentation Version 1.6