IsValid

IsValid(Stream)

Checks whether specified stream is a valid EMF image

public static bool IsValid(Stream binaryContent)
Parameter Type Description
binaryContent Stream Input byte stream. Cannot be NULL, should support reading and seeking.

Return Value

True if specified stream holds a valid EMF image, false otherwise

See Also


IsValid(string)

Checks whether specified base64-encoded string is a valid EMF image

public static bool IsValid(string contentInBase64)
Parameter Type Description
contentInBase64 String Input string, where content of EMF image is stored in base64 encoding. Cannot be NULL or empty.

Return Value

True if specified string holds a valid EMF image, false otherwise

See Also