ClassShapeInline
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
ShapeInline()
Declaration
public ShapeInline()
Properties
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
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 LayoutBox for the element.
Declaration
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters
documentCollection
The document collection.
Returns
Overrides
CreateNewElementInstance()
Creates a new instance of this element.
Declaration
protected override DocumentElement CreateNewElementInstance()
Returns
The new instance.
Overrides