IImageDimensionsFetcherReadDimensions Method (Stream) |
Reads the dimensions of the image from the stream, hopefully without actually loading the entire file.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax Size ReadDimensions(
Stream stream
)
Function ReadDimensions (
stream As Stream
) As Size
Size ReadDimensions(
Stream^ stream
)
abstract ReadDimensions :
stream : Stream -> Size
Parameters
- stream
- Type: System.IOStream
A stream of image bits. The stream must be positionable.
Return Value
Type:
SizeSee Also