Reflection class

Office 2013 and later

Reflection Effect. When the object is serialized out as xml, its qualified name is a:reflection.

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class Reflection : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

reflection (Reflection Effect)

This element specifies a reflection effect.

[Example:

Parent Elements

cont (§20.1.8.20); effectDag (§20.1.8.25); effectLst (§20.1.8.26)

Attributes

Description

algn (Shadow Alignment)

Specifies shadow alignment.

The possible values for this attribute are defined by the ST_RectAlignment simple type (§20.1.10.53).

blurRad (Blur Radius)

Specifies the blur radius.

The possible values for this attribute are defined by the ST_PositiveCoordinate simple type (§20.1.10.42).

dir (Direction)

Specifies the direction of the alpha gradient ramp relative to the shape itself.

The possible values for this attribute are defined by the ST_PositiveFixedAngle simple type (§20.1.10.44).

dist (Distance)

Specifies how far to distance the shadow.

The possible values for this attribute are defined by the ST_PositiveCoordinate simple type (§20.1.10.42).

endA (End Alpha)

Specifies the ending reflection opacity.

The possible values for this attribute are defined by the ST_PositiveFixedPercentage simple type (§20.1.10.45).

endPos (End Position)

Specifies the end position (along the alpha gradient ramp) of the end alpha value.

The possible values for this attribute are defined by the ST_PositiveFixedPercentage simple type (§20.1.10.45).

fadeDir (Fade Direction)

Specifies the direction to offset the reflection.

The possible values for this attribute are defined by the ST_PositiveFixedAngle simple type (§20.1.10.44).

kx (Horizontal Skew)

Specifies the horizontal skew angle.

The possible values for this attribute are defined by the ST_FixedAngle simple type (§20.1.10.23).

ky (Vertical Skew)

Specifies the vertical skew angle.

The possible values for this attribute are defined by the ST_FixedAngle simple type (§20.1.10.23).

rotWithShape (Rotate With Shape)

Specifies if the reflection rotates with the shape.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

stA (Start Opacity)

starting reflection opacity.

The possible values for this attribute are defined by the ST_PositiveFixedPercentage simple type (§20.1.10.45).

stPos (Start Position)

Specifies the start position (along the alpha gradient ramp) of the start alpha value.

The possible values for this attribute are defined by the ST_PositiveFixedPercentage simple type (§20.1.10.45).

sx (Horizontal Ratio)

Specifies the horizontal scaling factor.

The possible values for this attribute are defined by the ST_Percentage simple type (§20.1.10.40).

sy (Vertical Ratio)

Specifies the vertical scaling factor.

The possible values for this attribute are defined by the ST_Percentage simple type (§20.1.10.40).

[Note: The W3C XML Schema definition of this element’s content model (CT_ReflectionEffect) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

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