Click or drag to resize

SvgDocumentOpen Method (String, DictionaryString, String)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Opens the document at the specified path and loads the SVG contents.

Namespace:  Svg
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public static SvgDocument Open(
	string path,
	Dictionary<string, string> entities
)
Request Example View Source

Parameters

path
Type: SystemString
A String containing the path of the file to open.
entities
Type: System.Collections.GenericDictionaryString, String
A dictionary of custom entity definitions to be used when resolving XML entities within the document.

Return Value

Type: SvgDocument
An SvgDocument with the contents loaded.
Exceptions
ExceptionCondition
FileNotFoundExceptionThe document at the specified path cannot be found.
See Also