MemoryImage.IsImageOfType

MemoryImage.IsImageOfType method

identifies an image of a specific type.

public bool IsImageOfType(string format)
ParameterTypeDescription
formatStringA string representing the format: png, jpg, dds…

Return Value

True if this image is of the given type.

See Also