ImageLayoutBox
Represents a layout box for an image, providing properties and methods to manage and render images within the document layout.
Definition
Namespace:Telerik.Windows.Documents.Layout
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ImageLayoutBox : DrawingLayoutBox
Inheritance: objectLayoutElementLayoutBoxInlineLayoutBoxDrawingLayoutBoxImageLayoutBox...
Inherited Members
Constructors
public ImageLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
Properties
Represents the associated inline image of the ImageLayoutBox.
public ImageInline AssociatedInlineImage { get; set; }
Gets or sets the baseline offset of the image layout box.
public override float BaselineOffset { get; }
Overrides:
Methods
Measures the space required by the LayoutElement Used by the layout system.
protected override SizeF MeasureOverride(SizeF availableSize)
The size that is available to the LayoutElement. The available size can be infinity (to take the full size of the element)
Returns:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
Returns a string representation of the current instance of the ImageLayoutBox.
public override string ToString()
A string that represents the current ImageLayoutBox object, providing information relevant to its properties.
Overrides: