bardecode.com

  • Increase font size
  • Default font size
  • Decrease font size
Home FAQ What are the properties and methods of the Image Viewer Control?

What are the properties and methods of the Image Viewer Control?

Properties:

  • integer ScaleType   0 = scale to width, 1 = scale to height, 2 = scale to zoom
  • integer PageNo   Page number in a TIF file.
  • integer PageCount   Number of pages in image (read only).
  • integer Orientation   0 = upright, 1 = 90 clockwise, 2 = 180 and 3 = 270.

Methods:

  • DisplayImage(filePath)   Display the specified file.
  • ZoomIn()   Enlarge image.
  • ZoomOut()   Reduce image size.