Click or drag to resize

Gdi32FuncSetViewportExtEx Method

Sets the viewport extent of the specified device context.

Namespace: Altaxo.UnmanagedApi.Gdi32
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static bool SetViewportExtEx(
	IntPtr hdc,
	int nXExtent,
	int nYExtent,
	IntPtr lpSize
)

Parameters

hdc  IntPtr
A handle to the device context.
nXExtent  Int32
The horizontal viewport extent.
nYExtent  Int32
The vertical viewport extent.
lpSize  IntPtr
A pointer that receives the previous extent, or Zero.

Return Value

Boolean
if the viewport extent was set; otherwise, .
See Also