ControlAdapter.CalculateOptimumPageWeight(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
決定裝置的最佳頁面權重。 這個 API 已經過時了。 有關如何開發 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
若頁重無法自行判定,則應使用頁數粗細。
傳回
裝置的最佳頁權重。
備註
最佳頁寬計算為字元行數的100倍。
這個 API 已經過時了。 關於如何開發 ASP.NET 行動應用程式的資訊,請參閱 具備 ASP.NET 的行動應用程式與網站。