menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum FOPTEShadowStyle - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Enum FOPTEShadowStyle

    The interpretation of the transform properties depends on the type of shadow: msoshadowOffset, msoshadowDouble: Only the offset is used. It is interpreted as an absolute offset expressed in EMUs. The default corresponds to 1/36" in both X and Y (2 or 3 pixels on screen depending on monitor resolution). The offset is relative to the drawing axes (as msoshadowDrawing below, not msoshadowRich) so a shadow offset to the bottom right of the drawing is still offset (by the same amount) to the bottom right if the shape is rotated. The "double" case causes two shadows to be drawn, the first (lower) at the second offset and in the shadowHighlightColor. If the second offset is 0,0 it defaults to being the inverse of the first. msoshadowRich: The offsets and transformation properties are in absolute units measured relative to the shape on the drawing - the shadow moves with the shape, but anisotropic scaling of the shape changes the proportions of the shadow, not its angles. Compare with the following where such scaling scales the shadow in proportion too, thus changes the angle between (e.g.) a vertical line in the shape and it's shadow. msoshadowShape: The offsets and transformation properties are relative to the shape; 1.0 corresponds to the shape width/height as appropriate. The shadow is cast relative to the shape then scaled with the shape, so it moves with the shape. The units are simple numbers (ratios of the G unit space effectively). This transformation type is unnatural in real world terms, but behaves nicely in geometric terms. The offset elements of the property set are treated as fixed-point 16.16 values. msoshadowDrawing: A rich shadow cast onto a plane in drawing space. The transform is applied to the drawing coordinates of the shape and is thus expressed in EMUs. This shadow type enables creation of shadows from multiple objects, however the shadows may overlap higher (different) objects if the shadow plane and shape drawing planes overlap on the screen. The shadowWeight parameter is used as in the perspective property set to apply addiitonal scaling to the perspective parameters - these are divided by the weight. Shadow transformations are independent of the perspective transformation applied to a shape - either hte perspective transformation or the shadow transformation is used as appropriate.

    Namespace: Syncfusion.DocIO.ReaderWriter.DataStreamParser.Escher
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    public enum FOPTEShadowStyle

    Fields

    Name Description
    fShadow

    The f shadow

    fshadowObscured

    The fshadow obscured

    shadowColor

    The shadow color

    shadowCrMod

    The shadow cr mod

    shadowHighlight

    The shadow highlight

    shadowOffsetX

    The shadow offset x

    shadowOffsetY

    The shadow offset y

    shadowOpacity

    The shadow opacity

    shadowOriginX

    The shadow origin x

    shadowOriginY

    The shadow origin y

    shadowPerspectiveX

    The shadow perspective x

    shadowPerspectiveY

    The shadow perspective y

    shadowScaleXToX

    The shadow scale x to x

    shadowScaleXToY

    The shadow scale x to y

    shadowScaleYToX

    The shadow scale y to x

    shadowScaleYToY

    The shadow scale y to y

    shadowSecondOffsetX

    The shadow second offset x

    shadowSecondOffsetY

    The shadow second offset y

    shadowType

    The shadow type

    shadowWeight

    The shadow weight

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved