共用方式為


RectangleD.Inflate 方法 (RectangleD, Double, Double)

各邊緣已向外移動指定之距離的複本。 不會移動該副本的中央。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

語法

'宣告
Public Shared Function Inflate ( _
    rectangle As RectangleD, _
    x As Double, _
    y As Double _
) As RectangleD
public static RectangleD Inflate(
    RectangleD rectangle,
    double x,
    double y
)

參數

  • x
    類型:System.Double
    將左右框線向外移動的量。總寬度增加 2x。
  • y
    類型:System.Double
    將上下框線向外移動的量。總高度增加 2y。

傳回值

類型:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework 安全性

請參閱

參考

RectangleD 結構

Inflate 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間