Click or drag to resize

OnOffValueFromBoolean Method

Returns a new OnOffValue object created from a Boolean value.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public static OnOffValue FromBoolean(
	bool value
)

Parameters

value  Boolean
A Boolean value that is used to create a new OnOffValue object.

Return Value

OnOffValue
A OnOffValue that corresponds to the value parameter.
See Also