Class Shape
Inheritance
System.Object
Shape
Assembly: IronWord.dll
Syntax
public class Shape : ContentElement, jusphv
Constructors
Shape()
Declaration
Properties
Angle
Declaration
public double Angle { get; set; }
Property Value
Type |
Description |
System.Double |
|
DistanceFromBottom
Declaration
public double DistanceFromBottom { get; set; }
Property Value
Type |
Description |
System.Double |
|
DistanceFromLeft
Declaration
public double DistanceFromLeft { get; set; }
Property Value
Type |
Description |
System.Double |
|
DistanceFromRight
Declaration
public double DistanceFromRight { get; set; }
Property Value
Type |
Description |
System.Double |
|
DistanceFromTop
Declaration
public double DistanceFromTop { get; set; }
Property Value
Type |
Description |
System.Double |
|
FillColor
Declaration
public Color FillColor { get; set; }
Property Value
Height
Declaration
public double Height { get; set; }
Property Value
Type |
Description |
System.Double |
|
HorizontalAlignment
Declaration
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Id
Declaration
public uint Id { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
Index
Declaration
public int Index { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
StrokeColor
Declaration
public Color StrokeColor { get; set; }
Property Value
StrokeWeight
Declaration
public int StrokeWeight { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Type
Declaration
public ShapeType Type { get; set; }
Property Value
VerticalAlignment
Declaration
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
Width
Declaration
public double Width { get; set; }
Property Value
Type |
Description |
System.Double |
|
WrapText
Declaration
public WrapText WrapText { get; set; }
Property Value
Methods
Clone()
Declaration
public override ContentElement Clone()
Returns
Overrides
FlipHorizontal()
Declaration
public void FlipHorizontal()
FlipVertical()
Declaration
public void FlipVertical()
GetDistanceFromBottom(Units)
Declaration
public double GetDistanceFromBottom(Units measurementUnit)
Parameters
Type |
Name |
Description |
Units |
measurementUnit |
|
Returns
Type |
Description |
System.Double |
|
GetDistanceFromLeft(Units)
Declaration
public double GetDistanceFromLeft(Units measurementUnit)
Parameters
Type |
Name |
Description |
Units |
measurementUnit |
|
Returns
Type |
Description |
System.Double |
|
GetDistanceFromRight(Units)
Declaration
public double GetDistanceFromRight(Units measurementUnit)
Parameters
Type |
Name |
Description |
Units |
measurementUnit |
|
Returns
Type |
Description |
System.Double |
|
GetDistanceFromTop(Units)
Declaration
public double GetDistanceFromTop(Units measurementUnit)
Parameters
Type |
Name |
Description |
Units |
measurementUnit |
|
Returns
Type |
Description |
System.Double |
|
GetHeight(Units)
Declaration
public double GetHeight(Units measurementUnit)
Parameters
Type |
Name |
Description |
Units |
measurementUnit |
|
Returns
Type |
Description |
System.Double |
|
GetWidth(Units)
Declaration
public double GetWidth(Units measurementUnit)
Parameters
Type |
Name |
Description |
Units |
measurementUnit |
|
Returns
Type |
Description |
System.Double |
|
Resize(Int32, Int32)
Declaration
public void Resize(int width, int height)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
System.Int32 |
height |
|
Rotate(Double)
Declaration
public void Rotate(double angle)
Parameters
Type |
Name |
Description |
System.Double |
angle |
|
SetDistanceFromBottom(Double, Units)
Declaration
public void SetDistanceFromBottom(double distanceFromBottom, Units measurementUnit)
Parameters
Type |
Name |
Description |
System.Double |
distanceFromBottom |
|
Units |
measurementUnit |
|
SetDistanceFromLeft(Double, Units)
Declaration
public void SetDistanceFromLeft(double distanceFromLeft, Units measurementUnit)
Parameters
Type |
Name |
Description |
System.Double |
distanceFromLeft |
|
Units |
measurementUnit |
|
SetDistanceFromRight(Double, Units)
Declaration
public void SetDistanceFromRight(double distanceFromRight, Units measurementUnit)
Parameters
Type |
Name |
Description |
System.Double |
distanceFromRight |
|
Units |
measurementUnit |
|
SetDistanceFromTop(Double, Units)
Declaration
public void SetDistanceFromTop(double distanceFromTop, Units measurementUnit)
Parameters
Type |
Name |
Description |
System.Double |
distanceFromTop |
|
Units |
measurementUnit |
|
SetHeight(Double, Units)
Declaration
public void SetHeight(double height, Units measurementUnit)
Parameters
Type |
Name |
Description |
System.Double |
height |
|
Units |
measurementUnit |
|
SetWidth(Double, Units)
Declaration
public void SetWidth(double width, Units measurementUnit)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
Units |
measurementUnit |
|