ImageMan ActiveX Control Version 8
ImageControl Object Members
See Also  Overview  Send comments on this topic.

Glossary Item Box

Public Methods

Public Method BrightnessAdjusts the brightness for an image.
Public Method CaptureCaptures to the control the requested window handle for the purpose of screen capture.
Public Method ContrastAdjusts the contrast of the current image.
Public Method CreateBitmapCreate a blank bitmap of the specified size and color depth.
Public Method Crop Crops the defined section of the image into the ImageControl.
Public Method DeskewDeskews a scanned image.
Public Method FilterFilters the image using the specified builtin filter.
Public Method FilterLowFilters the image using the specified user defined kernel.
Public Method GammaCorrects the image by the specified gamma value.
Public Method GetFileName

Cause the control to display its File Open dialog.

Public Method GetImgHandle 
Public Method GetRow

Returns a Byte array that contains the image data from the specified row.

Public Method ImageCopyCopies the current image to the Windows clipboard.
Public Method ImageCutCopies the current image to the Windows clipboard and clears the image from the control
Public Method ImagePasteCopies an image from the Windows Clipboard into the Image control.
Public Method IncreaseToIncreases the bit depth of an image to the specified value.
Public Method InvertInverts the colors of the image
Public Method MergeMerges a specified image into the current image with the specified parameters.
Public Method MirrorHorizontalMirrors the Image horizontally.
Public Method MirrorVerticalMirrors the Image vertically.
Public Method PrintEndDocUsed to end a print job initiated with the PrintStart method.
Public Method PrintImagePrints the current image to the printer.
Public Method PrintNextPageNotifies the device that ImageMan has finished writing to a page. This function is used to direct the device driver to advance to the next page when using the PrintStart and PrintEndDoc methods and printing multipage images.
Public Method PrintStartUsed to initiate printing. This method was designed to simplify printing when using ActiveX containers other than Visual Basic. It allows the control to print without having to enumerate through the printers and create a Device Context.
Public Method ReduceTo

Reduces the color depth of the image to the specified number of colors.

Public Method ReduceToPaletteReduces the colors in the image to the specified palette.
Public Method RefreshForces the control to redraw itself.
Public Method RePaintForces the control to redraw itself.
Public Method RotateRotates the image by the specified angle.
Public Method SaveAsSaves the current image or the specified portion into a file of the specified name and type.
Public Method SaveToStreamWrites the image data to the Response stream when created in ASP or ASP.NET web server applications.
Public Method ScaleImage

Scales the current image to the specified size.

Public Method SetRowSets the image data at the specifed row to the data contained in array.

Public Properties

Public Property AppendImageWhen saving an image to a multipage format such as TIFF or DCX, this controls whether the image is appended to an existing file or the file is overwritten.
Public Property AutoDrawDetermines whether the control will be redrawn automatically when a new image is loaded.
Public Property AutoScaleMaintains aspect to ratio, or sizes to fit the control
Public Property BackColorproperty BackColor
Public Property BlueReturns/sets the blue value for a color entry in the image's palette.
Public Property BorderStyleproperty BorderStyle
Public Property Compression

Specifies the compression method to be used when saving an image using the SaveAs method.

Public Property DisplayColors

Returns the number of colors supported by the current video driver mode.

Public Property DitherMethod

Returns/sets the dither method which is used when reducing the number of colors in the image,

Public Property DstBottom

Returns/sets the coordinate of the bottom edge of the bounding rectangle used when copying, saving, or printing an image.

Public Property DstLeft

Returns/sets the coordinate of the left edge of the bounding rectangle used when copying, saving, or printing an image.

Public Property DstRight

Returns/sets the coordinate of the right edge of the bounding rectangle used when copying, saving, or printing an image.

Public Property DstTop

Returns/sets the coordinate of the top edge of the bounding rectangle used when copying, saving, or printing an image.

Public Property EmbedLengthSpecifies the length of the image data when loading an image embedded in another file.
Public Property EmbedOffsetSpecifies the byte offset of the begining of the image when embedded in another file.
Public Property Enabled 
Public Property Ext

Specifies the three-letter extension of the image format that ImageMan should use when opening images with non-standard extensions.

Public Property Extension

Returns all supported image extensions.

Public Property ExtensionCountReturns the number of image extensions supported by the control.
Public Property GreenReturns/sets the green value for a color entry in the image's palette.
Public Property hDCReturns a Windows Device Context for drawing on the image in the control.
Public Property hDIB

Returns/sets the handle of a Windows global memory block containing the image in Windows Packed DIB format.

Public Property hImage

Returns/sets the internal ImageMan handle for an image.

Public Property hImageDataReturns a handle containing a Global memory block containing the image in the format specified by the MemoryFormat property. Setting this property will load an image from the specified memory block.
Public Property hPalette

Returns a handle to a Windows Palette Object containing the palette for the image.

Public Property hWnd

Returns the Windows handle of the control’s Window.

Public Property ImageAttributesproperty ImageAttributes
Public Property ImageBitDepth

Returns the bitdepth of the image currently loaded in the control

Public Property ImageColorsReturns the number of colors in the image.
Public Property ImageDataSize

Returns the size of the Image Data when saving an image to memory by querying the hImageData property and also specifies the size of an image written to memory when setting the hImageData property.

Public Property ImageFlagsReturns a set of flags that describe the current image
Public Property ImageHeightReturns the height of the image in pixels.
Public Property ImageWidthReturns the Width of the image in pixels
Public Property ImageXResReturns the horizontal resolution of the image in dots per inch.
Public Property ImageYResReturns the vertical resolution of the image in dots per inch.
Public Property LoadStatus

Returns the status of images loaded from the Internet.

Public Property Magnification

Returns/sets the percentage the image should be scaled by when being displayed.

Public Property MemoryFormat

Specifies the format of images saved to memory using the hImageData Property.

Public Property MouseIconproperty MouseIcon
Public Property MousePointerproperty MousePointer
Public Property Overwrite

Specifies what occurs when writing a file and a file with the same name already exists.

Public Property PageNumber

Returns/sets the number of the image in the current file.

Public Property Pages

Returns the number of pages in the current file.

Public Property PaletteEntriesReturns the number of entries in an image's palette.
Public Property PDFBitDepthSpecifies the bitdepth used to rasterize imported PDF files.
Public Property PDFPasswordSpecifies the password used to open password protected PDF files.
Public Property PDFResolutionSpecifies the resolution used to rasterize imported PDF files.
Public Property Picture

Specifies the name of the image file to be loaded in the control.

Public Property PrnHdcSpecifies the Windows Printer device context used for printing images.
Public Property QualitySpecifies the quality factor used when saving JPEG images.
Public Property ReadyState

Return the state of the control when loading image data from the Internet.

Public Property RedReturns/sets the red value for a color entry in the image's palette.
Public Property ScaleHeight

Returns/sets the range of the vertical axis for a control's internal coordinate system. The coordinate system is used for scaling and displaying the image in the control.

Public Property ScaleLeft

Returns/sets the horizontal image coordinate that is mapped to the left edge of the control.

Public Property ScaleMethod

Specifies the method the control uses when scaling images down.

Public Property ScaleTop

Returns/sets the vertical image coordinate that is mapped to the top edge of the control.

Public Property ScaleWidth

Returns/sets the range of the horizontal axis for a control's internal coordinate system. The coordinate system is used for scaling and displaying the image in the control.

Public Property Scrollbars

Determines whether scrollbars will be displayed when only a portion of the image is displayed in the control.

Public Property Select

Determines whether the control will display a rubber-band box when the user clicks and drags using the left mouse button. When the user releases the button a Select event will be generated.

Public Property SrcBottom

Specifies the coordinates of the lower right hand corner of the image which should appear in the bounding rectangle when printing, copying, scaling or saving an image.

Public Property SrcLeft

Specifies the coordinates of the upper left-hand corner of the image which should appear in the bounding rectangle when printing, copying, scaling or saving an image.

Public Property SrcRight

Specifies the coordinates of the lower right hand corner of the image which should appear in the bounding rectangle when printing, copying, scaling or saving an image.

Public Property SrcTop

Specifies the coordinates of the upper left-hand corner of the image which should appear in the bounding rectangle when printing, copying, scaling or saving an image.

Public Property StatusEnabled

Specifies whether Status events will be fired when loading and saving images.

Public Property VBPictureSets or Returns the handle to an image in a format compatible with the Visual Basic PictureBox 'Picture' property.

Events

Public Event Clickmethod Click
Public Event DblClickmethod DblClick
Public Event KeyDownmethod KeyDown
Public Event KeyPressmethod KeyPress
Public Event KeyUpmethod KeyUp
Public Event MouseDown

Occurs when the user presses a mouse button.

Public Event MouseMoveOccurs when the user moves the mouse.
Public Event MouseUpOccurs when the user releases a mouse button
Public Event PaintOccurs when the image is painted in the control.
Public Event ReadyStateChange

Occurs when the control has finished loading image data from an HTTP or FTP source.

Public Event Scroll

Occurs when the user scrolls the image using the built-in scrollbars.

Public Event Select

Occurs when the user selects a portion of the image by clicking and dragging and the Select property is set to TRUE.

Public Event Status

Occurs when loading or saving an image and the StatusEnabled property is TRUE.

See Also

© 2014 Data Techniques Inc. All Rights Reserved.