Class SvgOptions
Save options for exporting slides as SVG (Scalable Vector Graphics). Inherits common progress/cancellation from SaveOptions.
Inherited Members
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public class SvgOptions : SaveOptions
Properties
CoordinatePrecision
Gets or sets the number of decimal places for coordinate output. Default: 4.
Declaration
public int CoordinatePrecision { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
EmbedImages
Gets or sets whether to embed images as inline base64 data URIs. Default: true. Setting false is currently unsupported because SVG export has no resource-directory or URI-base option.
Declaration
public bool EmbedImages { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
FallbackFontName
Gets or sets the font family name used when a run font cannot be resolved on the system. Default: "Arial".
Declaration
public string FallbackFontName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FontDirectory
Gets or sets an optional directory containing additional font files (.ttf, .otf).
Declaration
public string FontDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IncludeHiddenSlides
Gets or sets whether hidden slides are included. Default: false.
Declaration
public bool IncludeHiddenSlides { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Indent
Gets or sets whether to pretty-print with indentation. Default: true.
Declaration
public bool Indent { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SlideIndexes
Gets or sets the zero-based indexes of slides to export. When null, all non-hidden slides are exported.
Declaration
public IList<int> SlideIndexes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<int> |
TextMode
Gets or sets the text emission mode. Default: Path.
Declaration
public SvgTextMode TextMode { get; set; }
Property Value
| Type | Description |
|---|---|
| SvgTextMode |