Class
MapHtmlCallout

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public class MapHtmlCallout : MapCallout, IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement

Inheritance: objectMapVisualElementMapPathBasedVisualElementMapCalloutMapHtmlCallout

Implements: IBorderElementIBoxElementIBoxStyleIClusterableIFillElementIShapedElementITextElement

Inherited Members MapCallout.drawTextMapCallout.ResolveEntityReferences(MapPoint)MapCallout.Paint(IGraphics, IMapViewport)MapCallout.CreateVisualElementInfo(IMapViewport)MapCallout.IsOutlineMapCallout.DistanceMapCallout.MaxWidthMapCallout.PaddingMapCallout.ElementMapCallout.TextMapCallout.ImageMapPathBasedVisualElement.ViewportChanged(IMapViewport, ViewportChangeAction)MapPathBasedVisualElement.HitTest(PointG, PointL, IMapViewport)MapPathBasedVisualElement.GetVisualElementInfo(IMapViewport)MapPathBasedVisualElement.ResetGraphicsPathCache()MapPathBasedVisualElement.IsInViewportMapPathBasedVisualElement.LocationMapVisualElement.GetGeographicBounds()MapVisualElement.GetCurrentShape()MapVisualElement.GeographicBoundsMapVisualElement.LayerMapVisualElement.IsVisibleMapVisualElement.IsSelectedMapVisualElement.TagMapVisualElement.BackColorMapVisualElement.BackColor2MapVisualElement.BackColor3MapVisualElement.BackColor4MapVisualElement.NumberOfColorsMapVisualElement.GradientAngleMapVisualElement.GradientPercentageMapVisualElement.GradientPercentage2MapVisualElement.GradientStyleMapVisualElement.SizeMapVisualElement.SmoothingModeMapVisualElement.BorderColorMapVisualElement.BorderColor2MapVisualElement.BorderColor3MapVisualElement.BorderColor4MapVisualElement.InnerColorMapVisualElement.InnerColor2MapVisualElement.InnerColor3MapVisualElement.InnerColor4MapVisualElement.BoxStyleMapVisualElement.BorderDrawModeMapVisualElement.BorderDashStyleMapVisualElement.BorderDashPatternMapVisualElement.LeftColorMapVisualElement.LeftShadowColorMapVisualElement.TopColorMapVisualElement.TopShadowColorMapVisualElement.RightColorMapVisualElement.RightShadowColorMapVisualElement.BottomColorMapVisualElement.BottomShadowColorMapVisualElement.BorderWidthMapVisualElement.LeftWidthMapVisualElement.TopWidthMapVisualElement.RightWidthMapVisualElement.BottomWidthMapVisualElement.OffsetMapVisualElement.BorderSizeMapVisualElement.HorizontalWidthMapVisualElement.VerticalWidthMapVisualElement.ForeColorMapVisualElement.FontMapVisualElement.ToolTipTextMapVisualElement.RawResourceMapVisualElement.Shape

Constructors

MapHtmlCallout(MapVisualElement)

Declaration

cs-api-definition
public MapHtmlCallout(MapVisualElement element)

Parameters

element

MapVisualElement

MapHtmlCallout(PointG)

Declaration

cs-api-definition
public MapHtmlCallout(PointG location)

Parameters

location

PointG

Methods

MeasureText(Graphics, IMapViewport)

Measures the text content size for layout calculations, considering the maximum width constraint and font settings.

Declaration

cs-api-definition
protected override SizeF MeasureText(Graphics graphics, IMapViewport viewport)

Parameters

graphics

Graphics

The Graphics context used for text measurement.

viewport

IMapViewport

The IMapViewport providing context for measurement calculations.

Returns

SizeF

A SizeF representing the measured text dimensions within the maximum width constraint.

Overrides MapCallout.MeasureText(Graphics, IMapViewport)

PaintText(IGraphics, IMapViewport)

Paints the text content within the callout bubble with proper positioning relative to any image content and wraparound support.

Declaration

cs-api-definition
protected override void PaintText(IGraphics graphics, IMapViewport viewport)

Parameters

graphics

IGraphics

The IGraphics context used for rendering the text.

viewport

IMapViewport

The IMapViewport providing positioning and wraparound information for text rendering.

Overrides MapCallout.PaintText(IGraphics, IMapViewport)