• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PresentationSvgExporter

Extension methods for exporting Presentation slides as SVG.

Inheritance
object
PresentationSvgExporter
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Export.Svg
Assembly: DRIT.Presentation.dll
Syntax
public static class PresentationSvgExporter

Methods

RenderSlideToSvgStream(Presentation, Slide, Stream, SvgOptions?)

Renders a single slide to an SVG stream.

Declaration
public static void RenderSlideToSvgStream(this Presentation presentation, Slide slide, Stream stream, SvgOptions? options = null)
Parameters
Type Name Description
Presentation presentation
Slide slide
Stream stream
SvgOptions options

RenderSlideToSvgString(Presentation, int, SvgOptions?)

Renders a single slide to an SVG string.

Declaration
public static string RenderSlideToSvgString(this Presentation presentation, int slideIndex, SvgOptions? options = null)
Parameters
Type Name Description
Presentation presentation

The owner presentation.

int slideIndex

Zero-based slide index.

SvgOptions options

SVG export options.

Returns
Type Description
string

The SVG document as a UTF-8 string.

SaveAsSvg(Presentation, string, SvgOptions?)

Saves each selected slide as an SVG file. pathPattern may contain {slide} (1-based index) and {name} (slide name) tokens. Example: "output_slide{slide}.svg"

Declaration
public static void SaveAsSvg(this Presentation presentation, string pathPattern, SvgOptions? options = null)
Parameters
Type Name Description
Presentation presentation
string pathPattern
SvgOptions options
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX