Image Viewer CP ActiveX Control

Methods


Public Method AddBorder

Add Photo Frame border to image.

Public Method AddGradientBorder

Add Gradient Photo Frame border to image.

Public Method AutoZoom        

Auto zoom the image when called DrawSelectionRect.

Public Method BackupCurrentImage        

Backup the current image to backup buffer.

Public Method BlankPageGetConfidence       

Get the confidence value of current page.

Public Method BlankPageIsBlank      

Return true if the current page is blank page (depend on confidence value ).

Public Method ClearSelectionRect        

Clear the selection rectangle.

Public Method ClearRotateMultiPageOnly       

Clear all RotateMultiPageOnly call.

Public Method CovertTo1bpp      

Convert current image to 1 bit Black and White (Bitonal) image.

Public Method CovertTo4bpp      

Convert current image to 4 bit palette color image.

Public Method CovertTo8bpp      

Convert current image to 8 bit palette color image.

Public Method CovertTo8bppGrayScale      

Convert current image to 8 bit gray-scaled palette color image.

Public Method CovertTo16bppRGB555      

Convert current image to 16 bit RGB 555 color image.

Public Method CovertTo16bppRGB565      

Convert current image to 16 bit RGB 565 color image.

Public Method CovertTo24bpp      

Convert current image to 24 bit RGB color image.

Public Method CovertTo32bpp      

Convert current image to 32 bit RGB color image.

Public Method CovertTo32bppARGB      

Convert current image to 32 bit ARGB color image.

Public Method Copy2Clipboard

Copy the image to window clipboard.

Public Method Copy2HBITMAP

Copy the image and return HBITMAP handle.

Public Method Copy2PictureBox

Copy the image and return VB Picture object.

Public Method Crop

Crop the image and display it.

Public Method Crop2Clipboard

Crop the image to window clipboard.

Public Method Crop2HBITMAP

Crop the image and return HBITMAP handle.

Public Method Crop2ImageFile

Crop the image and save to image file.

Public Method Crop2PictureBox

Crop the image and return VB Picture object.

Public Method CreateThumbnail

Create the thumbnail and keep aspect ratio.

Public Method DrawImage

Draw the image on Image.

Public Method DrawText

Draw the text on Image.

Public Method DrawSelectionRect

Draw the selection rectangle.

Public Method GetExifTagsCount

Return the total number of EXIF tag.

Public Method GetExifTagsName

Returns the Tag Name at the specified index.

Public Method GetExifTagsValue

Returns the Tag Value at the specified index.

Public Method GetHorzScrollBarPos

Return the current position of horizontal scroll bar.

Public Method GetSelectionRect

Return the current position of selection rectangle.

Public Method GetTotalPage

Get the total page of multi page file(TIF page).

Public Method GetVertScrollBarPos

Return the current position of vertical  scroll bar.

Public Method HScroll

Scroll the Horizontal scrollbar.

Public Method ImportFromPictureBox

Import image from picture box.

Public Method LoadFromStream

Load the image from IStream. 

Public Method LoadImageFromURL

Load the image from url.

Public Method LoadMultiPage

Load the specific page of multi page PDF and TIF image file. 

Public Method PasteFromClipboard

Paste the image from window clipboard.

Public Method PrintImage

Print the image to user select printer or default printer.

Public Method PrintImage2Printer

Print the image to specific printer, the printer dialog will not display.

Public Method ReadBinary

Read binary data types for storage of images embedded in the database table.

Public Method Redraw

Redraw the display area.

Public Method ResetDefaultImage     

Restore the image from backup buffer.

Public Method Rotate

Flip image.

Public Method RotateAt

Rotate at specific degree of image.

Public Method Rotate90

Rotate 90 degree of image.

Public Method Rotate180

Rotate 180 degree of image.

Public Method Rotate270

Rotate 270 degree of image.

Public Method RotateMultiPage

Rotate all pages of multipage TIFF file.

Public Method RotateMultiPageOnly

Rotate specific pages of multipage TIFF file.

Public Method Save

Save the image to other image format and pdf format. If you rotate the image in display area and save to other format. The new image file will rotated.

Public Method SaveBySize

Save the image to another image format and pdf format and resize the image resolution.

Public Method SetBackgroundColor

Set the background color of display area.

Public Method SetExifStringValue

Set the value of EXIF tag.

Public Method SetHashBrushValue

Set the hash brush value when textstyle = 3.

Public Method SetOutlineTextBackColor

Set the outline text back color when textstyle = 2.

Public Method SetOutlineTextBorderColor

Set the outline text border color when textstyle = 2.

Public Method SetPrintText 

Add text to an image when print (compatible old version).

Public Method SetScrollBarPos

Set the scroll bar position to specifies location.

Public Method SetTextureBrushImage

Set the texture brush image when textstyle =4 .

Public Method TIFAddPage

Add the TIF image to specific position of existing TIF File without displaying or decoding any of the images

Public Method TIFDeletePage

Delete the page of TIF file without displaying or decoding any of the images.
 

Public Method TIFMerge

Combine two TIFF Files into a single multi page TIFF File without displaying or decoding any of the images.

Public Method TIFMergeMultiFiles

Combine multiple TIFF Files into a single multi page TIFF File without displaying or decoding any of the images.

Public Method TIFSplit

Split a multipage TIFF file into two TIFF file at the position specified by the iStartFromPageNo parameter.

Public Method TIFSwap

Swap a pages from multipage TIFF file without displaying or decoding any of the images.

Public Method VScroll

Scroll the Vertical scrollbar.

Public Method WriteBinary

Write binary data types for storage of images embedded in the database table.

Public Method ZoomIn

Zoom in the current image.

Public Method ZoomOut

Zoom out the current image.