Click or drag to resize

GdiExtensionMethodsHalf Method

Calculates the half of the original size.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static SizeF Half(
	this SizeF s
)

Parameters

s  SizeF
Original size.

Return Value

SizeF
Half of the original size

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SizeF. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also