API Reference
Class
VisualSvgOptions
Controls safe host integration of a detached SVG without changing its layout or static pixels.
Inheritance
- Object
- VisualSvgOptions
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 1
- Method PreparedVisual.ToSvg
Constructors
public VisualSvgOptions(String? idPrefix = null, SvgColorVariables? colorVariables = null, VisualSvgLinkTarget linkTarget = SameContext, Boolean responsive = false) #Creates a detached SVG export policy.
Parameters
- idPrefix System.String? = null
- Unique host namespace; null uses a deterministic content namespace.
- colorVariables ChartForgeX.Themes.SvgColorVariables? = null
- Host CSS properties with resolved static fallback colors. The mapping is copied.
- linkTarget ChartForgeX.Rendering.VisualSvgLinkTarget = SameContext
- Whether safe scene links use the current browsing context or a new protected context.
- responsive System.Boolean = false
- Whether inline SVG shrinks to its host width while preserving the logical viewport and aspect ratio.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String? IdPrefix { get; } #Gets the host ID namespace, or null for a deterministic content namespace.
public SvgColorVariables? ColorVariables { get; } #Gets an independent copy of the host color mapping.
public VisualSvgLinkTarget LinkTarget { get; } #Gets the safe link target policy.
public Boolean Responsive { get; } #Gets whether the SVG carries self-contained responsive sizing for inline hosts.