Class ShapeInline
Represents an inline-level document element, which contains a DrawingML shape.
Inherited Members
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class ShapeInline : DrawingInline, IDrawingImageElement
Constructors
ShapeInline()
Declaration
public ShapeInline()
ShapeInline(ShapeInline)
Properties
Body
Returns the underling document that holds the shape text.
Declaration
public RadDocument Body { get; }
Property Value
RadDocument
|
Height
Gets or sets the height.
Declaration
[XamlSerializable]
public override double Height { get; set; }
Property Value
System.Double
The height. |
Overrides
RotateAngle
Gets or sets the angle at which the image should be rotated.
Declaration
[XamlSerializable(0)]
public override double RotateAngle { get; set; }
Property Value
System.Double
The rotate angle. |
Overrides
Size
Gets or sets the size.
Declaration
public override Size Size { get; set; }
Property Value
System.Windows.Size
The size. |
Overrides
Width
Gets or sets the width.
Declaration
[XamlSerializable]
public override double Width { get; set; }
Property Value
System.Double
The width. |
Overrides
Methods
CopyContentFromOverride(DocumentElement)
Declaration
protected override void CopyContentFromOverride(DocumentElement fromElement)
Parameters
DocumentElement
fromElement
|
Overrides
CopyPropertiesFromOverride(DocumentElement)
Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
DocumentElement
fromElement
|
Overrides
CreateLayoutBox(DocumentStructureCollection)
Creates a layout box for the specified document structure collection.
Declaration
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters
DocumentStructureCollection
documentCollection
The collection of document structures to create the layout box for. |
Returns
LayoutBox
A layout box that represents the specified document structure collection. |
Overrides
CreateNewElementInstance()
Declaration
protected override DocumentElement CreateNewElementInstance()
Returns
DocumentElement
|
Overrides
GetOutlineDash()
Retrieves the outline dash style of the shape inline element.
Declaration
public Nullable<LineDashType> GetOutlineDash()
Returns
System.Nullable<LineDashType>
A LineDashType value representing the current outline dash style. |
GetOutlineFill()
Gets the outline fill of the shape inline element.
Declaration
public IShapeOutlineFill GetOutlineFill()
Returns
IShapeOutlineFill
The outline fill applied to the shape inline element. |
GetOutlineWidth()
Retrieves the outline width of the shape inline element.
Declaration
public Nullable<float> GetOutlineWidth()
Returns
System.Nullable<System.Single>
A System.Double representing the width of the outline. |
GetShapeFill()
Retrieves the fill properties of the shape.
Declaration
public IShapeFill GetShapeFill()
Returns
IShapeFill
An object representing the fill settings of the shape. |
GetTextOutlineDash()
Retrieves the dash pattern used for the outline of the shape.
Declaration
public Nullable<LineDashType> GetTextOutlineDash()
Returns
System.Nullable<LineDashType>
A collection of floating-point values representing the dash pattern. An empty collection indicates that there is no dash pattern applied. |
GetTextOutlineFill()
Retrieves the fill color used for the text outline of the shape.
Declaration
public IShapeOutlineFill GetTextOutlineFill()
Returns
IShapeOutlineFill
A IShapeOutlineFill representing the fill color of the text outline. |
GetTextOutlineWidth()
Retrieves the outline width of the text within the shape inline.
Declaration
public double GetTextOutlineWidth()
Returns
System.Double
A floating-point value representing the width of the text outline. |