ShapeInline
Represents an inline-level document element, which contains a DrawingML shape.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ShapeInline : DrawingInline, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectDocumentElementInlineDrawingInlineShapeInline...
Implements:
Inherited Members
Constructors
Initializes an inline shape with a tag generated from the current UTC tick count.
public ShapeInline()
Initializes an inline shape by copying the specified shape's element properties and shape data.
public ShapeInline(ShapeInline shape)
The shape whose properties and shape data are copied.
Properties
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:
Gets or sets the size.
public override Size Size { get; set; }
The size.
Overrides:
Methods
Deep-copies the underlying DrawingML shape from the source inline element.
protected override void CopyContentFromOverride(DocumentElement fromElement)
The source element, which must be a ShapeInline.
Overrides:
Copies base inline properties, dimensions, rotation, and tag, then deep-copies the shape data.
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
The source element, which must be a ShapeInline.
Overrides:
Creates the shape-specific layout box used to position and render this inline element.
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
The document structure collection that owns the layout box.
Returns:A ShapeLayoutBox for this shape.
Overrides:
Creates an empty ShapeInline for the document-element copy operation.
protected override DocumentElement CreateNewElementInstance()
A new inline shape instance.
Overrides: