Error processing SSI file
(Leadtools.Controls)

Show in webframe

HitTestItemPart Method




The reference item. This value cannot be null.
The point in physical (in viewer pixel) coordinates.
Specific part of the item under a physical (in viewer pixel) coordinates.
Syntax
public virtual ImageViewerItemPart HitTestItemPart( 
   ImageViewerItem item,
   LeadPoint point
)
'Declaration
 
Public Overridable Function HitTestItemPart( _
   ByVal item As ImageViewerItem, _
   ByVal point As LeadPoint _
) As ImageViewerItemPart

Parameters

item
The reference item. This value cannot be null.
point
The point in physical (in viewer pixel) coordinates.

Return Value

The specific item part under the specified point, or ImageViewerItemPart.View if the point is not over the item.
Remarks

HitTestItem method will return the item if any part of it is under the specified point. To further fine-tune the hit testing operation and obtain the specific item part, call HitTestItemPart passing the item obtained from HitTestItem and the desired part.

For more information refer to Image Viewer Layouts, Image Viewer Appearance, Image Viewer Items, Image Viewer Transformation, and Image Viewer Bounds and Transform.

Example

For an example, refer to HitTestItem.

Requirements

Target Platforms

See Also

Reference

ImageViewer Class
ImageViewer Members

Error processing SSI file