Table of Contents

Method CanSetParameter

Namespace
SharpVectors.Dom
Assembly
SharpVectors.Core.dll

CanSetParameter(string, object)

Check if setting a parameter to a specific value is supported.

bool CanSetParameter(string name, object value)

Parameters

name string

The name of the parameter to check.

value object

An object. If null, the returned value is true.

Returns

bool

Returns true if the parameter could be successfully set to the specified value, or false if the parameter is not recognized or the requested value is not supported. This does not change the current value of the parameter itself.