ClassMapHtmlCallout
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public class MapHtmlCallout : MapCallout, IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement
Inheritance: objectMapVisualElementMapPathBasedVisualElementMapCalloutMapHtmlCallout
Implements:
Inherited Members
Constructors
MapHtmlCallout(MapVisualElement)
Declaration
public MapHtmlCallout(MapVisualElement element)
Parameters
element
Methods
MeasureText(Graphics, IMapViewport)
Measures the text content size for layout calculations, considering the maximum width constraint and font settings.
Declaration
protected override SizeF MeasureText(Graphics graphics, IMapViewport viewport)
Parameters
graphics
The Graphics context used for text measurement.
viewport
The IMapViewport providing context for measurement calculations.
Returns
A SizeF representing the measured text dimensions within the maximum width constraint.
Overrides
PaintText(IGraphics, IMapViewport)
Paints the text content within the callout bubble with proper positioning relative to any image content and wraparound support.
Declaration
protected override void PaintText(IGraphics graphics, IMapViewport viewport)
Parameters
graphics
The IGraphics context used for rendering the text.
viewport
The IMapViewport providing positioning and wraparound information for text rendering.
Overrides