Class Bevel
Represents a bevel effect applied to an object or text in a Word document.
Inheritance
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. |