try_parse


Description:

public static bool try_parse (string str, out PrintOrientation orientation)

Parse a string containing a paper orientation

Parameters:

[in]

str The string containing the paper orientation

[out]

orientation The paper orientation value

Returns:

true Parsing successful, orientation contains the value

false Parsing unsuccessful