The leading provider of version control solutions and TWAIN SDKs
  • Contact us









GetImageYResolution Method

Description

Return the Y-resolution of the specified image.

ActiveX Edition Plug-in Edition Mac Edition
Since V8.0 Since V8.0 Since V8.0

Syntax

Long ObjectName. GetImageYResolution(Short sImageIndex)

Parameters

short sImageIndex: Specifies the index of image in buffer. The index is 0-based.

Return value

Long.

Returns the Y-resolution of the specified image.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

Remarks

Dynamic Webcam processes the image according to the extension of the file name(specified in HTTPRemoteFile).

Dynamic Webcam supports the following types of image files:

Bitmap *.bmp, *.dib
JPEG *.JPG, *.JPEG, .*.JPE, *.JFIF
TIFF *.TIF, *.TIFF
PNG *.PNG
PDF *.PDF

See also

GetImageXResolution() method

Sample

A JavaScript sample is provided.

<script language="javascript">

	function btnGetImageYResolution_onclick() {

		YResolution = Webcam.GetImageYResolution(0);
		//alert(YResolution);

	}

</script>