Share via


Reflection Class

Defines the Reflection Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w14:reflection.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Word.Reflection

Namespace:  DocumentFormat.OpenXml.Office2010.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class Reflection _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Reflection
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class Reflection : OpenXmlLeafElement

Remarks

2.5.24 CT_Reflection

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

Referenced by: wReflection

Specifies the reflection effect.

All the attributes of this element are optional but MAY<24> be required.

Attributes:

blurRad : An optional ST_PositiveCoordinate (as specified in [ISO/IEC-29500-1] §20.1.10.42) attribute that specifies blur radius. This attribute MAY be limited further in the application<25>. Default value for this attribute is 0.

stA : An optional ST_PositiveFixedPercentage attribute that specifies starting reflection opacity. stA stands for Start Alpha. Default value for this attribute is 0.

stPos : An optional ST_PositiveFixedPercentage attribute that specifies start position along gradient ramp of start alpha value. Default value for this attribute is 0.

endA : An optional ST_PositiveFixedPercentage attribute that specifies ending reflection opacity. endA stand for End Alpha. Default value for this attribute is 0.

endPos : An optional ST_PositiveFixedPercentage attribute that specifies end position along gradient ramp of end alpha value. Default value for this attribute is 0.

dist : An optional ST_PositiveCoordinate (as specified in [ISO/IEC-29500-1] §20.1.10.42) attribute that specifies how far to offset reflection from text. This attribute MAY be limited further in the application<26>. Default value for this attribute is 0.

dir : An optional ST_PositiveFixedAngle (as specified in [ISO/IEC-29500-1] §20.1.10.44) attribute that specifies direction to offset reflection. Default value for this attribute is 0.

fadeDir : An optional ST_PositiveFixedAngle (as specified in [ISO/IEC-29500-1] §20.1.10.44) attribute that specifies direction of alpha gradient ramp relative to text. Default value for this attribute is 0.

sx : An optional ST_Percentage attribute that specifies horizontal scale factor. Default value for this attribute is 0.

sy : An optional ST_Percentage attribute that specifies vertical scale factor. Default value for this attribute is 0.

kx : An optional ST_FixedAngle (as specified in [ISO/IEC-29500-1] §20.1.10.23) attribute that specifies horizontal skew angle. Default value for this attribute is 0.

ky : An optional ST_FixedAngle (as specified in [ISO/IEC-29500-1] §20.1.10.23) attribute that specifies vertical skew angle. Default value for this attribute is 0.

algn : An optional ST_RectAlignment attribute that specifies reflection alignment. Default value for this attribute is “none”.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_Reflection">

<xsd:attribute name="blurRad" use="optional" type="a:ST_PositiveCoordinate"/>

<xsd:attribute name="stA" use="optional" type="ST_PositiveFixedPercentage"/>

<xsd:attribute name="stPos" use="optional" type="ST_PositiveFixedPercentage"/>

<xsd:attribute name="endA" use="optional" type="ST_PositiveFixedPercentage"/>

<xsd:attribute name="endPos" use="optional" type="ST_PositiveFixedPercentage"/>

<xsd:attribute name="dist" use="optional" type="a:ST_PositiveCoordinate"/>

<xsd:attribute name="dir" use="optional" type="a:ST_PositiveFixedAngle"/>

<xsd:attribute name="fadeDir" use="optional" type="a:ST_PositiveFixedAngle"/>

<xsd:attribute name="sx" use="optional" type="ST_Percentage"/>

<xsd:attribute name="sy" use="optional" type="ST_Percentage"/>

<xsd:attribute name="kx" use="optional" type="a:ST_FixedAngle"/>

<xsd:attribute name="ky" use="optional" type="a:ST_FixedAngle"/>

<xsd:attribute name="algn" use="optional" type="ST_RectAlignment"/>

</xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Reflection Members

DocumentFormat.OpenXml.Office2010.Word Namespace