Replaces one or more pages of this RasterImage.
Public Sub ReplacePages( _
ByVal index As Integer, _
ByVal image As Leadtools.RasterImage, _
ByVal startIndex As Integer, _
ByVal count As Integer _
1-based index of the page from image to replace.
The image containing the source pages.
1-based index of the first page to replace from.
Number of pages to replace. Specify
-1 to replace all pages.
This method pulls the pages from index to index + count from image and replaces the pages in the current RasterImage object at index = index. The number of pages in image is decremented by count if image had only one page prior to calling this method, then the image object is disposed of and should not be used afterwards.
For an example, refer to Page
Medical Web Viewer .NET