Search Results for

    Show / Hide Table of Contents

    Class Bevel

    Represents a bevel effect applied to an object or text in a Word document.

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

    Constructors

    Bevel()

    Declaration
    public Bevel()

    Properties

    Height

    Gets or sets the height of the bevel effect.

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

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

    PresetProfileType

    Gets or sets the PresetProfileType of the bevel effect.

    Declaration
    public BevelPresetTypeValues PresetProfileType { get; set; }
    Property Value
    Type Description
    BevelPresetTypeValues

    Width

    Gets or sets the width of the bevel effect.

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

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

    Methods

    GetHeight(MeasurementUnit)

    Gets the height of the bevel effect in the specified measurement unit.

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

    The measurement unit to convert the height to.

    Returns
    Type Description
    System.Double

    The height of the bevel effect.

    GetWidth(MeasurementUnit)

    Gets the width of the bevel effect in the specified measurement unit.

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

    The measurement unit to convert the width to.

    Returns
    Type Description
    System.Double

    The width of the bevel effect.

    SetHeight(Double, MeasurementUnit)

    Sets the height of the bevel effect to the specified value in the specified measurement unit.

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

    The height of the bevel effect.

    MeasurementUnit measurementUnit

    The measurement unit of the specified height.

    SetWidth(Double, MeasurementUnit)

    Sets the width of the bevel effect to the specified value in the specified measurement unit.

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

    The width of the bevel effect.

    MeasurementUnit measurementUnit

    The measurement unit of the specified width.

    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronWord to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronWord free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.