Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

GetItemImageSize Method

Show in webframe
The reference item. This value cannot be null.
true to obtain the size using the current DPI setting, otherwise; false.
Image size of an item.
Syntax
 function Leadtools.Controls.ImageViewer.getItemImageSize( 
   item ,
   useDpi 
)

Parameters

ParameterTypeDescription
itemImageViewerItemThe reference item. This value cannot be null.
useDpibooltrue to obtain the size using the current DPI setting, otherwise; false.

Return Value

TypeDescription
LeadSizeD The size of the item image in pixels.
Remarks

Each ImageViewerItem can have a ImageViewerItem.Resolution value that can be used to set the resolution (in dots per inch, or DPI) of the item. When the value of the DPI is different than the screen resolution and the viewer is instructed to view items using the true logical size (using UseDpi then the viewer will add the scaling required into the image transformation.

See Also

Reference

ImageViewer Object
ImageViewer Members

Error processing SSI file