Show / Hide Table of Contents

Method SetWindowPositionAndSize

| Edit this page View Source

SetWindowPositionAndSize(nint, double, double, double, double)

Positions and resizes the window

Declaration
public static void SetWindowPositionAndSize(nint hwnd, double x, double y, double width, double height)
Parameters
Type Name Description
nint hwnd

Window handle

double x

Left side of the window in device independent pixels

double y

Top side of the window in device independent pixels

double width

Width of the window in device independent pixels, or null if keeping the current size

double height

Height of the window in device independent pixels, or null if keeping the current size

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX