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 AddTIF        

Add the image to TIF Collection. 

Public Method AntiNoise        

Add anti Noise effect on image.

Public Method AutoZoom        

Auto zoom the image when called DrawSelectionRect.

Public Method BackupCurrentImage        

Backup the current image to backup buffer.

Public Method BarCodeGetScore        

(For Barcode Reader plugin only) Return sureness value of decoding.

Public Method BarCodeGetType        

(For Barcode Reader plugin only) Return the barcode type.

Public Method BarCodeGetValue       

(For Barcode Reader plugin only) Return decoded value.

Public Method BarCodeReadByZone       

(For Barcode Reader plugin only) Set specific zone for barcode recognizing.

Public Method BarCodeReadFullPage      

(For Barcode Reader plugin only) Set full page for barcode recognizing.

Public Method BarCodeReadPDFClose      

(For Barcode Reader plugin only) Close the pdf file.

Public Method BarCodeReadPDFImageCount      

(For Barcode Reader plugin only) Get the total count of image for specific page of PDF file.

Public Method BarCodeReadPDFOpen      

(For Barcode Reader plugin only) Open PDF for advanced Barcode recognition.

Public Method BarCodeReadPDFScan      

(For Barcode Reader plugin only) Start to scanning barcode of PDF for advanced Barcode recognition.

Public Method BarCodeWriterFitToRect    

(For Barcode Writer plugin only) Set Fit to rectangle or not when create the barcode.

Public Method BarCodeWriterGetErrorMessage

(For Barcode Writer plugin only) Get the last error message when create the barcode.

Public Method BarCodeWriterLeftTopPos

(For Barcode Writer plugin only) Set the left and top position of barcode when create the barcode.

Public Method BarCodeWriterPreview

(For Barcode Writer plugin only) Preview the barcode.

Public Method BarCodeWriterSave

(For Barcode Writer plugin only) Save the barcode to image file.

Public Method BarCodeWriterSaveHBITMAP

(For Barcode Writer plugin only) Save the barcode to HBITMAP handle.

Public Method BarCodeWriterSetFontSize

(For Barcode Writer plugin only) Set the font size of barcode when create the barcode.

Public Method BarCodeWriterSetHeight

(For Barcode Writer plugin only) Set the height of barcode when create the barcode.

Public Method BarCodeWriterSetOutputArea

(For Barcode Writer plugin only) Set the output rectangle of barcode when create the barcode.

Public Method BarCodeWriterSetStandard

(For Barcode Writer plugin only) Set the barcode standard when create the barcode.

Public Method BarCodeWriterSetValue

(For Barcode Writer plugin only) Set the barcode value when create the barcode.

Public Method BarCodeWriterShowCheckDigit

(For Barcode Writer plugin only) Visible or invisible the check digit value when create the barcode.

Public Method BarCodeWriterShowText

(For Barcode Writer plugin only) Visible or invisible the barcode value when create the barcode.

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 Blur        

Add Blur effect on image.

Public Method Brightness        

Add Brightness effect on image.

Public Method ClearDrawArc     

Clear all DrawArc call.

Public Method ClearDrawArcByIndex

Clear specific index of DrawArc.

Public Method ClearDrawBezier    

Clear all DrawBezier call.

Public Method ClearDrawBezierByIndex

Clear specific index of DrawBezier.

Public Method ClearDrawEllipse  

Clear all DrawEllipse call.

Public Method ClearDrawEllipseByIndex

Clear specific index of DrawEllipse.

Public Method ClearDrawFillEllipse 

Clear all DrawFillEllipse call.

Public Method ClearDrawFillEllipseByIndex

Clear specific index of DrawFillEllipse.

Public Method ClearDrawFillPie 

Clear all DrawFillPie call.

Public Method ClearDrawFillPieByIndex

Clear specific index of DrawFillPie.

Public Method ClearDrawFillRectangle

Clear all DrawFillRectangle call.

Public Method ClearDrawFillRectangleByIndex

Clear specific index of DrawFillRectangle.

Public Method ClearDrawImage

Clear all DrawImage.

Public Method ClearDrawImageByIndex

Clear specific index of DrawImage.

Public Method ClearDrawLine

Clear all DrawLine call.

Public Method ClearDrawLineByIndex

Clear specific index of DrawLine.

Public Method ClearDrawPie

Clear all DrawPie call.

Public Method ClearDrawPieByIndex

Clear specific index of DrawPie.

Public Method ClearDrawRectangle

Clear all DrawRectangle call.

Public Method ClearDrawRectangleByIndex

Clear specific index of DrawRectangle.

Public Method ClearDrawText

Clear all DrawText.

Public Method ClearDrawTextByIndex

Clear specific index of DrawText.

Public Method ClearDrawTexturedLine

Clear all DrawTexturedLine call.

Public Method ClearDrawTexturedLineByIndex

Clear specific index DrawTexturedLine.

Public Method ClearDrawPageOnly       

Clear all DrawPage call.

Public Method ClearRotateMultiPageOnly      

Clear all RotateMultiPageOnly call.

Public Method ClearSelectionRect        

Clear the selection rectangle.

Public Method Contrast        

Add contrast effect on image.

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 DICOMDisplayAllFrame

(For DICOM plugin only) Display all frame if the dicom image contains multi-page.

Public Method DICOMDisplayAllFrameStartFrom

(For DICOM plugin only) Display all frame and start from specific frame if the dicom image contains multi-page.

Public Method DICOMDisplayFrame

(For DICOM plugin only) Display specific frame if the dicom image contain multi-page.

Public Method DICOMGetTagsCount

(For DICOM plugin only) Return the total count of tags.

Public Method DICOMGetTagsName

(For DICOM plugin only) Return the tag name for specific index.

Public Method DICOMGetTagsSubItemCount

(For DICOM plugin only) Return the total count of subitem for specific tags.

Public Method DICOMGetTagsSubItemName

(For DICOM plugin only) Return the subitem name for specific index and tags.

Public Method DICOMGetTagsSubItemValue

(For DICOM plugin only) Return the subitem value for specific index and tags.

Public Method DICOMGetTotalPage

(For DICOM plugin only) Return the total page of dicom image.

Public Method DICOMLoadImage

(For DICOM plugin only) Load the dicom image.

Public Method DeSaturation

Add DeSaturation effect on image.

Public Method DeleteBitmapHandle

Delete the HBITMAP handle.

Public Method Diffuse

Add Diffuse effect on image.

Public Method DocxAddChar

Prepare create Microsoft Word (.docx) File and add character to specific page.

Public Method DocxAddImage

Prepare create Microsoft Word (.docx) File and add an images on Microsoft Word (.docx) File.

Public Method DocxCreateFile

Create Microsoft Word (.docx) File.

Public Method DocxPDF2Docx

Convert PDF file to single/multi-page Microsoft Word (.docx) File. 

Public Method DocxTIFF2Docx

Convert TIF file to single/multi-page Microsoft Word (.docx) File. 

Public Method DrawArc

Draw an arc on image.

Public Method DrawBezier

Draw a Bézier spline on image.

Public Method DrawEllipse

Draw an ellipse on image.

Public Method DrawFillEllipse

Draw an ellipse on image and uses a brush to fill the interior of an ellipse.

Public Method DrawFillPie

Draw a pie on image and uses a brush to fill the interior of a pie.

Public Method DrawFillRectangle

Draw a rectangle and uses a brush to fill the interior of a rectangle.

Public Method DrawLine

Draw a line that connects two points on image.

Public Method DrawPie

Draw a pie on image.

Public Method DrawRectangle

Draw a rectangle on image

Public Method DrawTexturedLine

Draw a texture line that connects two points on image.

Public Method DrawImage

Draw the image on Image.

Public Method DrawImageEx

Draw the image on Image. You can resize the image and control the interpolation mode.

Public Method DrawImageHBITMAP

Draw the image from HBITMAP.

Public Method DrawPageOnly

Draw the overlay text or image on specific page only.

Public Method DrawSelectionRect

Draw the selection rectangle.

Public Method DrawText

Draw the text on Image.

Public Method DrawTextAlignment

Set the text alignment before call DrawText method.

Public Method ExportTIF

Export image file and pdf file from multipage TIFF file.

Public Method Emboss

Add Emboss effect on image.

Public Method FocalBW

Add FocalBW effect on image.

Public Method Gamma

Add Gamma effect on image.

Public Method GetCountDrawArc

Get the count of DrawArc.

Public Method GetCountDrawBezier

Get the count of DrawBezier.

Public Method GetCountDrawEllipse

Get the count of DrawEllipse.

Public Method GetCountDrawFillEllipse

Get the count of DrawFillEllipse.

Public Method GetCountDrawFillPie

Get the count of DrawFillPie.

Public Method GetCountDrawFillRectangle

Get the count of DrawFillRectangle.

Public Method GetCountDrawImage

Get the count of DrawImage.

Public Method GetCountDrawLine

Get the count of DrawLine.

Public Method GetCountDrawPie

Get the count of DrawPie.

Public Method GetCountDrawRectangle

Get the count of DrawRectangle.

Public Method GetCountDrawText

Get the count of DrawText.

Public Method GetCountDrawTexturedLine

Get the count of DrawTexturedLine.

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 GetScaleX

Return the zoom width scale of image.

Public Method GetScaleY

Return the zoom height scale of image.

Public Method GetSelectionRect

Return the current position of selection rectangle.

Public Method GetTIFCount 

Return the count of TIF Collection.

Public Method GetTIFFileName

Search the TIF Collection for given index. Return the image file name.

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 Hue

Add Hue effect on image.

Public Method ImportFromPictureBox

Import image from picture box.

Public Method Image2PDF

Convert image file to PDF file without displaying.

Public Method InvertColor

Invert the color.

Public Method LoadFromByteArray

Load the image from Byte Array. 

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 Median

Add Median effect on image.

Public Method Monochrome

Add monochrome effect on image.

Public Method Mosaic

Add mosaic effect on image.

Public Method Noise

Add noise effect on image.

Public Method OCR2SearchableMultipagePDF

(For OCR plugin only) Convert multi-page TIF/PDF file to Searchable Multipage PDF/A file.

Public Method OCR2SearchablePDF

(For OCR plugin only) Convert single page image file to Searchable Single page PDF/A file.

Public Method OCR2SearchableTextFile

(For OCR plugin only) Convert to multi-page Searchable Text file. 

Public Method OCRGetRecognizedCharBottom

(For OCR plugin only) Return the bottom position in pixel of one of the characters recognized.

Public Method OCRGetRecognizedCharCode

(For OCR plugin only) Return the ACSII code of one of the characters recognized.

Public Method OCRGetRecognizedCharConfidence

(For OCR plugin only) Return the confidence of one of the characters recognized.

Public Method OCRGetRecognizedCharCount

(For OCR plugin only) Return the number of characters recognized.

Public Method OCRGetRecognizedCharLeft

(For OCR plugin only) Return the left position in pixel of one of the characters recognized.

Public Method OCRGetRecognizedCharLine

(For OCR plugin only) Return the line position of one of the characters recognized.

Public Method OCRGetRecognizedCharRight

(For OCR plugin only) Return the right position in pixel of one of the characters recognized.

Public Method OCRGetRecognizedCharSpaces

(For OCR plugin only) Return the number of spaces detected before a character recognized.

Public Method OCRGetRecognizedCharTop

(For OCR plugin only) Return the number of spaces detected before a character recognized.

Public Method OCRGetRecognizedText

(For OCR plugin only) Return the recognized text.

Public Method OCRIsRecognizing

(For OCR plugin only) Return the recognizing status.

Public Method OCRScanTextAsync

(For OCR plugin only) Set the Asynchronous Mode or Blocking Mode for OCR2SearchableMultipagePDF and OCRStartScan method.

Public Method OCRSaveRecognizedText

(For OCR plugin only) Save the recognized text to text file.

Public Method OCRSetRect

(For OCR plugin only) Set the specific zone for recognizing.

Public Method OCRStartScan

(For OCR plugin only) Start a recognition process.

Public Method OCRStopScan

(For OCR plugin only) Stop a recognition process.

Public Method OCRTextFile2SearchablePDF

(For OCR plugin only) Convert image to Searchable Multipage PDF/A file with Searchable Text file.

Public Method PDFEditAddPage

(For Advanced PDF Viewer, PDF Edit plugin only) Add the PDF File to specific position of existing PDF File without displaying or decoding any of the images.

Public Method PDFEditAddWatermarkImage

(For Advanced PDF Viewer, PDF Edit plugin only) Add the Image Watermark to specific page of existing PDF File without displaying or decoding any of the images.

Public Method PDFEditAddWatermarkLines

(For Advanced PDF Viewer, PDF Edit plugin only) Add the Lines Watermark to specific page of existing PDF File without displaying or decoding any of the images.

Public Method PDFEditAddWatermarkText1

(For Advanced PDF Viewer, PDF Edit plugin only) Add the Text Watermark with alignment and rotate the text to specific page of existing PDF File without displaying or decoding any of the images.

Public Method PDFEditAddWatermarkText2

(For Advanced PDF Viewer, PDF Edit plugin only) Add the Text Watermark and rotate the text to specific page of existing PDF File without displaying or decoding any of the images.

Public Method PDFEditCrop

(For Advanced PDF Viewer, PDF Edit plugin only) Crop specific part of PDF file without displaying or decoding any of the images.

Public Method PDFEditEncrypt

(For Advanced PDF Viewer, PDF Edit plugin only) Add the user password to existing PDF File without displaying or decoding any of the images.

Public Method PDFEditGetBitmapBySize

(For Advanced PDF Viewer, PDF Edit plugin only) Export the specific PDF page to image format.

Public Method PDFEditDeletePage

(For Advanced PDF Viewer, PDF Edit plugin only) Delete Page of PDF file without displaying or decoding any of the images.

Public Method PDFEditGetFileInfo

(For Advanced PDF Viewer, PDF Edit plugin only) Return the width and height value of PDF file.
 

Public Method PDFEditImageExtract

(For Advanced PDF Viewer, PDF Edit plugin only) Extract the images files from PDF file.
 

Public Method PDFEditMasking

(For Advanced PDF Viewer, PDF Edit plugin only) Cover any unwanted page content (except annotations) with opaque rectangles.
 

Public Method PDFEditMerge

(For Advanced PDF Viewer, PDF Edit plugin only) Combine two PDF Files into a single multi page PDF File without displaying or decoding any of the images.
 

Public Method PDFEditMergeEx

(For Advanced PDF Viewer, PDF Edit plugin only) Combine two PDF Files from specific pages into a single multi page PDF File without displaying or decoding any of the images.
 

Public Method PDFEditMergeWithBookmarks

(For Advanced PDF Viewer, PDF Edit plugin only) Combine two PDF Files into a single multi page PDF File without displaying or decoding any of the images and create the bookmarks.
 

Public Method PDFEditRotate

(For Advanced PDF Viewer, PDF Edit plugin only) Rotating specific page to 90,180,270 degrees.
 

Public Method PDFEditSplit

(For Advanced PDF Viewer, PDF Edit plugin only) Split a multipage PDF file into two PDF file at the position specified by the iStartFromPageNo parameter.
 

Public Method PDFUnicodeLoadMultiPage

Load the specific page of multi page PDF. It support open filename with unicode characters.
 

Public Method PasteFromClipboard

Paste the image from window clipboard.

Public Method PSDGetLayerCount

Return the total count of layer when you load the PSD file.

Public Method PSDGetLayerHeight

Return the height of specific layer when you load the PSD file.

Public Method PSDGetLayerLeft

Return the left position of specific layer when you load the PSD file.

Public Method PSDGetLayerName

Return the layer name of specific layer when you load the PSD file.

Public Method PSDGetLayerOpacity

Return the opacity value of specific layer when you load the PSD file.

Public Method PSDGetLayerTop

Return the top position of specific layer when you load the PSD file.

Public Method PSDGetLayerWidth

Return the width of specific layer when you load the PSD file.

Public Method PSDShowLayerImage

Show the image of specific layer when you load the PSD file.

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 QRWriterSave

(For Barcode Writer plugin only) Save the QR barcode to image file.

Public Method QRWriterSaveHBITMAP

(For Barcode Writer plugin only) Save the QR barcode to HBITMAP.

Public Method RemoveTIF        

Remove the TIF Collection for a index.

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 RemoveAllTIF     

Remove all images in TIF Collection.

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 or PDF file.

Public Method RotateMultiPageOnly

Rotate specific pages of multipage TIFF or PDF file.

Public Method Saturation

Add saturation effect on image.

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 SaveTIF 

Create multipage TIFF images from TIF Collection.

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 Sharpen

Add sharpen effect on image.

Public Method SharpenEdge

Add sharpenedge effect on image.

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 TIFExportPages

Export specific pages from multipage TIFF.

Public Method TIFGetCompressionInfo

Get the type of TIFF compression.

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 Twirl

Add twirl effect on image.

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.