Skip to main content
All docs
V25.2
  • ShapeGuideFormulaType Enum

    Lists the types of shape guide formulas.

    Namespace: DevExpress.Docs.Presentation

    Assembly: DevExpress.Docs.Presentation.v25.2.dll

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public enum ShapeGuideFormulaType

    Members

    Name Description Formula
    Undefined

    The formula is undefined.

    MultiplyDivide

    Multiply Divide formula.

    “*/ x y z” = ((x * y) / z)

    AddSubtract

    Add Subtract formula.

    “+- x y z” = ((x + y) - z)

    AddDivide

    Add Divide formula.

    “+/ x y z” = ((x + y) / z)

    IfElse

    If Else formula.

    “?: x y z” = if (x > 0), then y, else z

    Abs

    Absolute value formula.

    abs x” = if (x < 0), then (-1) * x, else x

    ArcTan

    Arc Tangent formula .

    “at2 x y” = arctan(y / x)

    CosArcTan

    Cosine Arc Tangent formula.

    “cat2 x y z” = (x*(cos(arctan(z / y)))

    Cos

    Cosine formula.

    “cos x y” = (x * cos( y ))

    Max

    Maximum value formula.

    “max x y” = if (x > y), then x, else y .

    Min

    Minimum value formula.

    “min x y” = if (x < y), then x, else y .

    Mod

    Modulo formula.

    “mod x y z” = sqrt(x^2 + b^2 + c^2)

    Pin

    Pin To formula.

    “pin x y z” = if (y < x), then x; else if (y > z), then z

    SinArcTan

    Sine Arc Tangent formula.

    “sat2 x y z” = (x*sin(arctan(z / y)))

    Sin

    Sine formula.

    “sin x y” = (x * sin( y ))

    Sqrt

    Square Root formula.

    “sqrt x” = sqrt(x)

    Tan

    Tangent formula.

    “tan x y” = (x * tan( y ))

    Value

    Literal value formula.

    “val x” = x

    Mid

    Midpoint formula.

    (x + y) / 2

    SumAngle

    Sum of Angles formula.

    x + y * 65536 - z * 65536

    Ellipse

    Ellipse formula

    (z * sqrt(1 - ( (y = 0 ? x : x / y) ^ 2 )))

    Related API Members

    The following properties accept/return ShapeGuideFormulaType values:

    See Also