Search Results for

    Show / Hide Table of Contents

    Class Reflection

    Represents a reflection effect applied to text or objects.

    Inheritance
    System.Object
    Reflection
    Namespace: IronWord.Models
    Assembly: IronWord.dll
    Syntax
    public class Reflection : Object

    Constructors

    Reflection()

    Declaration
    public Reflection()

    Properties

    Alignment

    Gets or sets the alignment of the reflection effect.

    Declaration
    public RectangleAlignmentValues Alignment { get; set; }
    Property Value
    Type Description
    RectangleAlignmentValues

    BlurRadius

    Gets or sets the blur radius of the reflection effect.

    Declaration
    public double BlurRadius { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    The blur radius is specified in points (1/72 inch).

    DirectionAngle

    Gets or sets the direction angle of the reflection effect.

    Declaration
    public double DirectionAngle { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    The direction angle is specified in degrees.

    DistanceFromText

    Gets or sets the distance of the reflection effect from the text or object.

    Declaration
    public double DistanceFromText { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    The distance is specified in points (1/72 inch).

    EndingOpacity

    Gets or sets the ending opacity of the reflection effect.

    Declaration
    public double EndingOpacity { get; set; }
    Property Value
    Type Description
    System.Double

    EndPosition

    Gets or sets the ending position of the reflection effect.

    Declaration
    public double EndPosition { get; set; }
    Property Value
    Type Description
    System.Double

    FadeDirectionAngle

    Gets or sets the fade direction of the reflection effect.

    Declaration
    public double FadeDirectionAngle { get; set; }
    Property Value
    Type Description
    System.Double

    HorizontalScalingFactor

    Gets or sets the horizontal scaling factor of the reflection effect.

    Declaration
    public int HorizontalScalingFactor { get; set; }
    Property Value
    Type Description
    System.Int32

    HorizontalSkewAngle

    Gets or sets the horizontal skew angle of the reflection effect.

    Declaration
    public double HorizontalSkewAngle { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    The skew angle is specified in degrees.

    SchemeColor

    Gets or sets the scheme color of the reflection effect.

    Declaration
    public Color SchemeColor { get; set; }
    Property Value
    Type Description
    Color

    StartingOpacity

    Gets or sets the starting opacity of the reflection effect.

    Declaration
    public double StartingOpacity { get; set; }
    Property Value
    Type Description
    System.Double

    StartPosition

    Gets or sets the starting position of the reflection effect.

    Declaration
    public double StartPosition { get; set; }
    Property Value
    Type Description
    System.Double

    VerticalScalingFactor

    Gets or sets the vertical scaling factor of the reflection effect.

    Declaration
    public double VerticalScalingFactor { get; set; }
    Property Value
    Type Description
    System.Double

    VerticalSkewAngle

    Gets or sets the vertical skew angle of the reflection effect.

    Declaration
    public double VerticalSkewAngle { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    The skew angle is specified in degrees.

    Methods

    GetBlurRadius(MeasurementUnit)

    Gets the blur radius of the reflection effect in the specified measurement unit.

    Declaration
    public double GetBlurRadius(MeasurementUnit measurementUnit)
    Parameters
    Type Name Description
    MeasurementUnit measurementUnit

    The measurement unit to convert the blur radius to.

    Returns
    Type Description
    System.Double

    The blur radius of the reflection effect.

    GetDistanceFromText(MeasurementUnit)

    Gets the distance of the reflection effect from the text or object in the specified measurement unit.

    Declaration
    public double GetDistanceFromText(MeasurementUnit measurementUnit)
    Parameters
    Type Name Description
    MeasurementUnit measurementUnit

    The measurement unit to convert the distance to.

    Returns
    Type Description
    System.Double

    The distance of the reflection effect from the text or object.

    GetEndPosition(MeasurementUnit)

    Gets the End position of the reflection effect in the specified measurement unit.

    Declaration
    public double GetEndPosition(MeasurementUnit measurementUnit)
    Parameters
    Type Name Description
    MeasurementUnit measurementUnit

    The measurement unit to convert the position to.

    Returns
    Type Description
    System.Double

    The End position of the reflection effect from the text or object.

    GetStartPosition(MeasurementUnit)

    Gets the Start position of the reflection effect in the specified measurement unit.

    Declaration
    public double GetStartPosition(MeasurementUnit measurementUnit)
    Parameters
    Type Name Description
    MeasurementUnit measurementUnit

    The measurement unit to convert the position to.

    Returns
    Type Description
    System.Double

    The Start position of the reflection effect from the text or object.

    SetBlurRadius(Double, MeasurementUnit)

    Sets the blur radius of the reflection effect to the specified value in the specified measurement unit.

    Declaration
    public void SetBlurRadius(double blurRadius, MeasurementUnit measurementUnit)
    Parameters
    Type Name Description
    System.Double blurRadius

    The blur radius of the reflection effect.

    MeasurementUnit measurementUnit

    The measurement unit of the specified blur radius.

    SetDistanceFromText(Double, MeasurementUnit)

    Sets the distance of the reflection effect from the text or object to the specified value in the specified measurement unit.

    Declaration
    public void SetDistanceFromText(double distance, MeasurementUnit measurementUnit)
    Parameters
    Type Name Description
    System.Double distance

    The distance of the reflection effect from the text or object.

    MeasurementUnit measurementUnit

    The measurement unit of the specified distance.

    SetEndPosition(Double, MeasurementUnit)

    Sets the distance of the reflection effect from the text or object to the specified value in the specified measurement unit.

    Declaration
    public void SetEndPosition(double endPosition, MeasurementUnit measurementUnit)
    Parameters
    Type Name Description
    System.Double endPosition

    The End position of the reflection effect from the text or object.

    MeasurementUnit measurementUnit

    The measurement unit of the specified position.

    SetStartPosition(Double, MeasurementUnit)

    Sets the distance of the reflection effect from the text or object to the specified value in the specified measurement unit.

    Declaration
    public void SetStartPosition(double startPosition, MeasurementUnit measurementUnit)
    Parameters
    Type Name Description
    System.Double startPosition

    The Start position of the reflection effect from the text or object.

    MeasurementUnit measurementUnit

    The measurement unit of the specified position.

    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    IronWord_for_dotnet_log2o
    Blue key in circleGet started for FREE
    No credit card required
    Test in a live environment

    Test in production without watermarks.
    Works wherever you need it to.

    Fully-functional product

    Get 30 days of fully functional product.
    Have it up and running in minutes.

    24/5 technical support

    Full access to our support engineering team during your product trial

    Grey key in circleGet started for FREE
    The trial form was submitted successfully.
    Calendar in circleBook Free Live Demo
    No contact, no card details, no commitments Book a 30-minute, personal demo.
    Here's what to expect:

    A live demo of our product and its key features

    Get project specific feature recommendations

    All your questions are answered to make sure you have all the information you need. (No commitment whatsoever.)

    Grey key in circleBook Free Live Demo
    Your booking has been completed Check your e-mail for confirmation
    Support Team Member 6 related to The C# PDF Library Support Team Member 14 related to The C# PDF Library Support Team Member 4 related to The C# PDF Library Support Team Member 2 related to The C# PDF Library
    Online 24/5
    Need help? Our sales team would be glad to help you.
    Try the Enterprise Trial
    ironpdf_for_dotnet_log2o
    Key in blue circle
    Get your free 30-day Trial Key instantly.
    bullet_checkedNo credit card or account creation required
    Key in blue circle
    Get your free 30-day Trial Key instantly.
    Blue key in circleNo credit card or account creation required
    Green Check in orange circle
    The trial form was submitted successfully.
    badge_greencheck_in_yellowcircle
    Thank you for starting a trial

    Please check your email for the trial license key.

    If you don’t receive an email, please start a live chat or email support@ironsoftware.com

    Install with NuGet
    View Licensing
    • Logo Aetna
    • Logo NASA
    • Logo GE
    • Logo Porsche
    • Logo USDA
    • Logo Qatar
    Join Millions of Engineers who’ve tried IronWord