コード例 #1
0
	def get_img_height(self):
		if self.dev:
			return pyf.fp_dev_get_img_height(self.dev)
		raise "Device not open"
コード例 #2
0
ファイル: pyfprint.py プロジェクト: ffsouza/pyfprint
 def img_height(self):
     """Return the height of the images scanned by the device, in pixels."""
     if self.dev:
         return pyf.fp_dev_get_img_height(self.dev)
     raise "Device not open"
コード例 #3
0
ファイル: pyfprint.py プロジェクト: EmericB/pyfprint
	def img_height(self):
		"""Return the height of the images scanned by the device, in pixels."""
		if self.dev:
			return pyf.fp_dev_get_img_height(self.dev)
		raise "Device not open"