←Select platform

onMeasure Method

Summary

Measures the ImageViewer and its content to determine the size.

Syntax

C#
VB
Java
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) 

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

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)