ShapeInline
Represents an inline-level document element, which contains a DrawingML shape.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ShapeInline : DrawingInline
Inheritance: objectDocumentElementInlineDrawingInlineShapeInline
Inherited Members
Constructors
public ShapeInline()
Properties
Returns the underling document that holds the shape text.
public RadDocument Body { get; }
Gets or sets the height.
[XamlSerializable]
public override double Height { get; set; }
The height.
Overrides:
Gets or sets the angle at which the image should be rotated.
[XamlSerializable(0)]
public override double RotateAngle { get; set; }
The rotate angle.
Overrides:
Size
Size
Gets or sets the size.
public override Size Size { get; set; }
The size.
Overrides:
Methods
Copies the content from another Inline.
protected override void CopyContentFromOverride(DocumentElement fromElement)
The Inline to copy the content from.
Exceptions:fromElement must not be null.
Cannot copy content to element itself.
Overrides:
Copies the properties from another document element to the current instance.
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
The DocumentElement to copy the properties from.
Overrides:
Creates a layout box for the specified document structure collection.
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
The collection of document structures to create the layout box for.
Returns:A layout box that represents the specified document structure collection.
Overrides:
Creates a new instance of this element.
protected override DocumentElement CreateNewElementInstance()
The new instance.
Overrides:
Retrieves the outline dash style of the shape inline element.
public LineDashType? GetOutlineDash()
A LineDashType value representing the current outline dash style.
Gets the outline fill of the shape inline element.
public IShapeOutlineFill GetOutlineFill()
The outline fill applied to the shape inline element.
Retrieves the fill properties of the shape.
public IShapeFill GetShapeFill()
An object representing the fill settings of the shape.
Retrieves the dash pattern used for the outline of the shape.
public LineDashType? GetTextOutlineDash()
A collection of floating-point values representing the dash pattern. An empty collection indicates that there is no dash pattern applied.
Retrieves the fill color used for the text outline of the shape.
public IShapeOutlineFill GetTextOutlineFill()
A IShapeOutlineFill representing the fill color of the text outline.
Retrieves the outline width of the text within the shape inline.
public double GetTextOutlineWidth()
A floating-point value representing the width of the text outline.