Muokkaa

Jaa


ControlAdapter.CalculateOptimumPageWeight(Int32) Method

Definition

Determines the optimum page weight for the device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual int CalculateOptimumPageWeight(int defaultPageWeight);
protected virtual int CalculateOptimumPageWeight (int defaultPageWeight);
abstract member CalculateOptimumPageWeight : int -> int
override this.CalculateOptimumPageWeight : int -> int
Protected Overridable Function CalculateOptimumPageWeight (defaultPageWeight As Integer) As Integer

Parameters

defaultPageWeight
Int32

The page weight to use if the page weight cannot otherwise be determined.

Returns

The optimum page weight for the device.

Remarks

The optimum page weight is calculated as 100 times the number of lines of characters.

This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile apps and sites with ASP.NET.

Applies to

See also