Skybound VisualTips

VisualTipRenderer.GetElementFont Method 

Returns the Font used for the text of a given element.

[Visual Basic]
Overridable Protected Function GetElementFont( _
   ByVal tip As VisualTip, _
   ByVal element As VisualTipRenderElement _
) As Font
[C#]
protected virtual Font GetElementFont(
   VisualTip tip,
   VisualTipRenderElement element
);

Parameters

tip
The VisualTip for which the Font is returned.
element
The VisualTipRenderElement whose Font is returned.

Return Value

A Font object which represents the Font used for the text of a given element.

Exceptions

Exception Type Condition
ArgumentNullException The tip parameter may not be a null reference.
ArgumentException The specified tip must be associated with a VisualTipProvider before it is rendered.

See Also

VisualTipRenderer Class | Skybound.VisualTips.Rendering Namespace