Accusoft ImagXpress 12
LoadVirtualImage Method
See Also  Send comments on this topic.
lWidth
The width of the virtual image.
lHeight
The height of the virtual image.
lBitDepth
The bit depth of the virtual image.
ResX
The x resolution of the virtual image.
ResY
The y resolution of the virtual image.
ResUnits
An enumIRes enumeration value.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : LoadVirtualImage Method

Glossary Item Box

Description

Loads a virtual image and allows passing in the image's area and resolution.

Syntax

Visual Basic
Public Sub LoadVirtualImage( _
   ByVal lWidth As Long, _
   ByVal lHeight As Long, _
   ByVal lBitDepth As Long, _
   ByVal ResX As Double, _
   ByVal ResY As Double, _
   ByVal ResUnits As enumIRes _
) 

Parameters

lWidth
The width of the virtual image.
lHeight
The height of the virtual image.
lBitDepth
The bit depth of the virtual image.
ResX
The x resolution of the virtual image.
ResY
The y resolution of the virtual image.
ResUnits
ValueDescription
IRes_CmCentimeters.
IRes_InchInches.
IRes_MeterMeters.
IRes_NANot available: no absolute unit of measurement.
IRes_NoneNone.
An enumIRes enumeration value.

Remarks

A virtual image for all practical purposes is a blank canvas that the application can use in conjunction with the PaintImage event to control rendering of an image. The scrollbars, zoom factor and other attributes of the view are maintained by ImagXpress. This could be used to break a large image into smaller images or tiles for reducing the memory footprint of the application. This is an advanced function and not recommended for use unless there is a extremely valid reason to use it.

See Also

©2013. Accusoft Corporation. All Rights Reserved.