ControlAdapter.CalculateOptimumPageWeight(Int32) 方法
定义
确定设备的最佳页权重。Determines the optimum page weight for the device. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。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
参数
- defaultPageWeight
- Int32
在不能确定页权重的情况下使用的页权重。The page weight to use if the page weight cannot otherwise be determined.
返回
设备的最佳页权重。The optimum page weight for the device.
注解
最佳页权重计算字符行数的100倍。The optimum page weight is calculated as 100 times the number of lines of characters.
此 API 已废弃不用。This API is obsolete. 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 ASP.NET 的移动应用和站点。For information about how to develop ASP.NET mobile applications, see Mobile apps and sites with ASP.NET.