DirectionalLight Constructors

Definition

Overloads

DirectionalLight()

Initializes a new instance of the DirectionalLight class.

DirectionalLight(OpenXmlElement[])

Initializes a new instance of the DirectionalLight class with the specified child elements.

DirectionalLight(IEnumerable<OpenXmlElement>)

Initializes a new instance of the DirectionalLight class with the specified child elements.

DirectionalLight(String)

Initializes a new instance of the DirectionalLight class from outer XML.

DirectionalLight()

Initializes a new instance of the DirectionalLight class.

C#
public DirectionalLight ();

Applies to

DocumentFormat.OpenXml 3.0.1 och andra versioner
Produkt Versioner
DocumentFormat.OpenXml 2.13.0, 2.13.1, 2.14.0, 2.15.0, 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1

DirectionalLight(OpenXmlElement[])

Initializes a new instance of the DirectionalLight class with the specified child elements.

C#
public DirectionalLight (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

DocumentFormat.OpenXml 3.0.1 och andra versioner
Produkt Versioner
DocumentFormat.OpenXml 2.13.0, 2.13.1, 2.14.0, 2.15.0, 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1

DirectionalLight(IEnumerable<OpenXmlElement>)

Initializes a new instance of the DirectionalLight class with the specified child elements.

C#
public DirectionalLight (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

DocumentFormat.OpenXml 3.0.1 och andra versioner
Produkt Versioner
DocumentFormat.OpenXml 2.13.0, 2.13.1, 2.14.0, 2.15.0, 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1

DirectionalLight(String)

Initializes a new instance of the DirectionalLight class from outer XML.

C#
public DirectionalLight (string outerXml);

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to

DocumentFormat.OpenXml 3.0.1 och andra versioner
Produkt Versioner
DocumentFormat.OpenXml 2.13.0, 2.13.1, 2.14.0, 2.15.0, 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1