(Leadtools.Controls)

onMeasure Method

Show in webframe





The width requirements as imposed by the parent object of the ImageViewer.
The height requirements as imposed by the parent object of the ImageViewer.
Measures the ImageViewer and its content to determine the size.
Syntax
protected void onMeasure( 
   int widthMeasureSpec,
   int heightMeasureSpec
)
Protected Sub onMeasure( _
   ByVal widthMeasureSpec As Integer, _
   ByVal heightMeasureSpec As Integer _
) 
protected void onMeasure( 
   int widthMeasureSpec,
   int heightMeasureSpec
)

            
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
 function Leadtools.Controls.ImageViewer.onMeasure( 
   widthMeasureSpec ,
   heightMeasureSpec 
)

Parameters

widthMeasureSpec
The width requirements as imposed by the parent object of the ImageViewer.
heightMeasureSpec
The height requirements as imposed by the parent object of the ImageViewer.
Remarks

Note to Inheritors: When overriding onMeasure in a derived class, be sure to call the base class's onMeasure method so that registered delegates receive the event.

Requirements

Target Platforms

See Also

Reference

ImageViewer Class
ImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.