コード例 #1
0
 /// <summary>
 /// Used to modify element's on-screen dimensions (affects the
 /// BoundingRectangle and BoundingGeometry properties)
 /// When called on a split pane, it may have the side-effect of resizing
 /// other surrounding panes.
 /// </summary>
 /// <param name="width">The requested width of the window.</param>
 /// <param name="height">The requested height of the window.</param>
 /// <outside_see conditional="false">
 /// This API does not work inside the secure execution environment.
 /// <exception cref="System.Security.Permissions.SecurityPermission"/>
 /// </outside_see>
 public void Resize(double width, double height)
 {
     UiaCoreApi.TransformPattern_Resize(_hPattern, width, height);
 }