Returns the size of the Texture texture.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static Size GetTextureSize(
	Texture texture
)

Parameters

texture
Type: Texture
Texture to get measured.

Return Value

Returns the texture size.

Exceptions

ExceptionCondition
System..::.ArgumentNullException texture is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also