DrawingStyleExtensions Class

Spotfire 14.2 API Reference
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Framework.StylesDrawingStyleExtensions

Namespace:  Spotfire.Dxp.Framework.Styles
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 64.0.19329.3263 (64.0.19329.3263)
Syntax

C#
public static class DrawingStyleExtensions

The DrawingStyleExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCreateFont Obsolete.
Creates a font from current settings.
Public methodStatic memberCreateFontMetadata
Creates a font from current settings.
Public methodStatic memberGetEffectiveBackgroundColor
Gets a suitable color to use for painting the background. Use this to render the background of an element that does not support transparency. This method is typically only relevant for Forms based implementations of views for CustomVisuals etc. If your view is based on HTML and Javascript (that is, derived from CustomVisualView) you can just leave your background transparent to use the theme color of the page.
Public methodStatic memberToColor
Creates a font from current settings.
Top
Version Information

Supported in: 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
See Also

Reference