Edit

Share via


PixelFormatConverter.ConvertFromString(String) Method

Definition

Attempts to convert a string to a PixelFormat.

public:
 System::Object ^ ConvertFromString(System::String ^ value);
public object ConvertFromString (string value);
override this.ConvertFromString : string -> obj
Public Function ConvertFromString (value As String) As Object

Parameters

value
String

The string to convert to a PixelFormat.

Returns

A new instance of PixelFormat.

Exceptions

value is null.

value could not be converted to a known PixelFormat.

Applies to