Click or drag to resize

EAPUtilImageSize Method (String, Boolean)

Gets the image size of the specified image file specified by virtual path.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static Size ImageSize(
	string path,
	out bool valid
)

Parameters

path
Type: SystemString
The virtual path to the image file.
valid
Type: SystemBoolean
Returns true if the file was found, was a valid image, and the size was determined.

Return Value

Type: Size
The image dimensions.
See Also