ImageLayoutBox
Represents an inline image in the layout tree and measures it using its rotated bounding dimensions.
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ImageLayoutBox : DrawingLayoutBox, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectLayoutElementLayoutBoxInlineLayoutBoxDrawingLayoutBoxImageLayoutBox...
Implements:
Inherited Members
Constructors
Creates a layout box for an inline image.
public ImageLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
The image element represented by the box.
collectionDocumentStructureCollectionThe document structure collection that owns the box.
Properties
Gets or sets the image model element associated with this box.
public ImageInline AssociatedInlineImage { get; set; }
Gets the measured image-box height used to align the image's bottom edge with the line baseline. The measurement includes rotation and enforces a minimum extent for images that have not loaded dimensions yet.
public override float BaselineOffset { get; }
Overrides:
Methods
Measures the image using its rotation-adjusted bounding size. Each dimension is at least 0.1, including while the image has no loaded dimensions.