ClassShapeInline
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
ShapeInline()
Declaration
public ShapeInline()
Properties
Body
Returns the underling document that holds the shape text.
Height
Gets or sets the height.
Declaration
[XamlSerializable]
public override double Height { get; set; }
Property Value
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
The rotate angle.
Overrides
Size
Gets or sets the size.
Declaration
public override Size Size { get; set; }
Property Value
Size
The size.
Overrides
Methods
CopyContentFromOverride(DocumentElement)
Copies the content from another Inline.
Declaration
protected override void CopyContentFromOverride(DocumentElement fromElement)
Parameters
fromElement
The Inline to copy the content from.
Exceptions
fromElement must not be null.
Cannot copy content to element itself.
Overrides
CopyPropertiesFromOverride(DocumentElement)
Copies the properties from another document element to the current instance.
Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
fromElement
The DocumentElement to copy the properties from.
Overrides
CreateLayoutBox(DocumentStructureCollection)
Creates a layout box for the specified document structure collection.
Declaration
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters
documentCollection
The collection of document structures to create the layout box for.
Returns
A layout box that represents the specified document structure collection.
Overrides
CreateNewElementInstance()
Creates a new instance of this element.
Declaration
protected override DocumentElement CreateNewElementInstance()
Returns
The new instance.
Overrides
GetOutlineDash()
Retrieves the outline dash style of the shape inline element.
Declaration
public LineDashType? GetOutlineDash()
Returns
A LineDashType value representing the current outline dash style.
GetOutlineFill()
Gets the outline fill of the shape inline element.
Declaration
public IShapeOutlineFill GetOutlineFill()
Returns
The outline fill applied to the shape inline element.
GetOutlineWidth()
Retrieves the outline width of the shape inline element.
GetShapeFill()
Retrieves the fill properties of the shape.
Declaration
public IShapeFill GetShapeFill()
Returns
An object representing the fill settings of the shape.
GetTextOutlineDash()
Retrieves the dash pattern used for the outline of the shape.
Declaration
public LineDashType? GetTextOutlineDash()
Returns
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
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
A floating-point value representing the width of the text outline.