ImgEdit User Control

ImgEdit Class Library

ImgEdit.InsertPage(String,Integer)

ImgEdit.InsertPage(String,Integer,Integer,Integer)

ImgEdit.InsertPage(System.Drawing.Bitmap,Integer)

 

Inserts one or more pages to the image.

 

[Visual Basic]

Public Sub InsertPage( _

ByVal New_Filename As String, _

ByVal Begin_At As Integer)

 

Parameters

    New_Filename

        The filename that the pages will be inserted.

    Begin_At

        The page position of the original filename that the pages will be inserted.

       

Return Value

    None.

 

[Visual Basic]

Public Sub InsertPage( _

ByVal New_Filename As String, _

ByVal StartPage As Integer, _

ByVal EndPage As Integer, _

ByVal Begin_At As Integer)

 

Parameters

    New_Filename

        The file that the pages will be inserted.

    StartPage

        The start page group that will be inserted.

    EndPage

        The end page group that will be inserted.

    Begin_At

        The page position of the original filename that the pages will be inserted.

       

Return Value

    None.

 

[Visual Basic]

Public Sub InsertPage( _

ByVal bmp As System.Drawing.Bitmap, _

ByVal Begin_At As Integer)

 

Parameters

    bmp

        The bitmap that the page will be inserted.

    Begin_At

        The page position of the original filename that the pages will be inserted.

       

Return Value

    None.

 

Example

[Visual Basic] The following example inserts all pages to the original filename starting at the second page.

 

[Visual Basic]

ImgEdit1.InsertPage("C:\Test\01.tif", 1)

 

Example

[Visual Basic] The following example inserts two pages to the original filename starting at the second page.

 

[Visual Basic]

ImgEdit1.InsertPage("C:\Test\01.tif", 1, 2, 1)

 

Example

[Visual Basic] The following example inserts the bitmap page to the original filename starting at the second page.

 

[Visual Basic]

Dim bmp as New Bitmap("C:\Test\01.tif")

ImgEdit1.InsertPage(bmp,1)

 

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