ShapeLayoutBox
Class
Represents a DrawingML shape as an atomic inline layout box.
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class ShapeLayoutBox : DrawingLayoutBox, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectLayoutElementLayoutBoxInlineLayoutBoxDrawingLayoutBoxShapeLayoutBox...
Implements:
Inherited Members
Constructors
Creates a layout box for a shape inline element.
C#
public ShapeLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
The shape element represented by the box.
collectionDocumentStructureCollectionThe document structure collection that owns the box.
Properties
Gets or sets the shape model element associated with this box.
C#
public ShapeInline AssociatedShapeInline { get; set; }
Gets the shape's stored height as the baseline offset.
C#
public override float BaselineOffset { get; }
Overrides:
Methods
Measures the shape using its rotation-adjusted bounding dimensions. Each dimension is at least 0.1.