MapHtmlCallout
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
Methods
Measures the text content size for layout calculations, considering the maximum width constraint and font settings.
protected override SizeF MeasureText(Graphics graphics, IMapViewport viewport)
The Graphics context used for text measurement.
viewportIMapViewportThe IMapViewport providing context for measurement calculations.
Returns:A SizeF representing the measured text dimensions within the maximum width constraint.
Overrides:
Paints the text content within the callout bubble with proper positioning relative to any image content and wraparound support.
protected override void PaintText(IGraphics graphics, IMapViewport viewport)
The IGraphics context used for rendering the text.
viewportIMapViewportThe IMapViewport providing positioning and wraparound information for text rendering.
Overrides: