Table of Contents

Class SvgWindow

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll
public abstract class SvgWindow : ISvgWindow
Inheritance
SvgWindow
Implements
Derived
Inherited Members

Constructors

SvgWindow(SvgWindow, long, long)
SvgWindow(long, long, ISvgRenderer)

Fields

_mappedTasks

Properties

AllowFontFileWrites

Gets or sets whether referenced font data and converted WOFF fonts may be written to disk. The default is true.

AllowLocalFontFiles

Gets or sets whether document-referenced local font files may be read. The default is true.

AllowLocalImageFiles

Gets or sets whether image and image color-profile file references may be read. The default is true.

AllowUncFontPaths

Gets or sets whether explicit UNC font paths may be used. The default is false.

AllowUncImagePaths

Gets or sets whether explicit UNC image and color-profile paths may be read. The default is false.

BaseUrls
DefaultStyleSheet
Document
InnerHeight
InnerWidth
LoadFonts

Gets or sets whether fonts referenced by the document are loaded. The default is true.

LoadImages

Gets or sets whether SVG image elements are loaded. The default is true.

ParentWindow
Renderer
Source
WorkingDir

Methods

AddTask(string, Task)
Alert(string)
AwaitTasks(string)
CanLoadImageResource(Uri)

Checks image policy before accessing an absolute image or color-profile URI.

CreateEmptySvgDocument()

Create and assign an empty SvgDocument to this window. This is needed only in situations where the library user needs to create an SVG DOM tree outside of the usual LoadSvgDocument mechanism.

CreateOwnedWindow()
CreateOwnedWindow(long, long)
CreateSvgRenderer()
ParseXML(string, XmlDocument)
PrintNode(XmlNode)
Resize(int, int)

This is expected to be called by the host