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
)
Public Shared Function ImageSize (
path As String,
<OutAttribute> ByRef valid As Boolean
) As Size
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:
SizeThe image dimensions.
See Also