Table of Contents

Class SvgConverterProperties

Namespace
iText.Svg.Processors.Impl
Assembly
itext.svg.dll

Default and fallback implementation of ISvgConverterProperties for DefaultSvgProcessor.

public class SvgConverterProperties : ISvgConverterProperties
Inheritance
SvgConverterProperties
Implements
Inherited Members

Constructors

SvgConverterProperties()

Creates a new SvgConverterProperties instance.

public SvgConverterProperties()

Remarks

Creates a new SvgConverterProperties instance. Instantiates its members, IResourceRetriever and ISvgNodeRendererFactory, to its default implementations.

Methods

GetBaseUri()

Gets the base URI.

public virtual string GetBaseUri()

Returns

string

the base URI

GetCharset()

public virtual string GetCharset()

Returns

string

GetFontProvider()

Gets the font provider.

public virtual FontProvider GetFontProvider()

Returns

FontProvider

the font provider

GetMediaDeviceDescription()

Gets the media device description.

public virtual MediaDeviceDescription GetMediaDeviceDescription()

Returns

MediaDeviceDescription

the media device description

GetRendererFactory()

public virtual ISvgNodeRendererFactory GetRendererFactory()

Returns

ISvgNodeRendererFactory

GetResourceRetriever()

public virtual IResourceRetriever GetResourceRetriever()

Returns

IResourceRetriever

SetBaseUri(string)

Sets the base URI.

public virtual SvgConverterProperties SetBaseUri(string baseUri)

Parameters

baseUri string

the base URI

Returns

SvgConverterProperties

the ConverterProperties instance

SetCharset(string)

public virtual SvgConverterProperties SetCharset(string charset)

Parameters

charset string

Returns

SvgConverterProperties

SetFontProvider(FontProvider)

public virtual SvgConverterProperties SetFontProvider(FontProvider fontProvider)

Parameters

fontProvider FontProvider

Returns

SvgConverterProperties

SetMediaDeviceDescription(MediaDeviceDescription)

Sets the media device description.

public virtual SvgConverterProperties SetMediaDeviceDescription(MediaDeviceDescription mediaDeviceDescription)

Parameters

mediaDeviceDescription MediaDeviceDescription

the media device description

Returns

SvgConverterProperties

the ConverterProperties instance

SetRendererFactory(ISvgNodeRendererFactory)

public virtual SvgConverterProperties SetRendererFactory(ISvgNodeRendererFactory rendererFactory)

Parameters

rendererFactory ISvgNodeRendererFactory

Returns

SvgConverterProperties

SetResourceRetriever(IResourceRetriever)

Sets the resource retriever.

public virtual SvgConverterProperties SetResourceRetriever(IResourceRetriever resourceRetriever)

Parameters

resourceRetriever IResourceRetriever

the resource retriever

Returns

SvgConverterProperties

the SvgConverterProperties instance

Remarks

Sets the resource retriever. The resourceRetriever is used to retrieve data from resources by URL.