Table of Contents

Method Resolve

Namespace
SharpVectors.Renderers
Assembly
SharpVectors.Rendering.Wpf.dll

Resolve(DependencyObject, int, string, string)

Generates the resource key to be applied to the specified resource object, created from the file name and from the specified source (directory).

string Resolve(DependencyObject resource, int index, string fileName, string fileSource)

Parameters

resource DependencyObject

The target resource object (DrawingGroup, DrawingImage)

index int

The index of the resource file.

fileName string

The file name of the SVG file without the extension.

fileSource string

The source directory of the SVG file.

Returns

string

A string containing the key to be used to identify the specified resource. This must be at least 3 characters and less than 255 characters.