API Reference

Class

VisioSvgSaveOptions

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Modifiers sealed

Options for headless SVG export from an in-memory Visio page.

Inheritance

  • Object
  • VisioSvgSaveOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public VisioSvgSaveOptions() #

Properties

public Int32 PageIndex { get; set; } #

Zero-based page index used when exporting a document. Defaults to the first page.

public Double PixelsPerInch { get; set; } #

Number of SVG units used per Visio inch. Defaults to 96 so the SVG maps naturally to browser pixels.

public Nullable<OfficeColor> BackgroundColor { get; set; } #

Optional page background. Defaults to white; set to null for transparent output.

public Boolean RenderText { get; set; } #

Gets or sets whether shape text is emitted.

public Boolean RenderStencilArtwork { get; set; } #

Gets or sets whether built-in OfficeIMO stencil metadata is projected as dependency-free vector artwork.

public Boolean RenderConnectorLabels { get; set; } #

Gets or sets whether connector labels are emitted.

public Boolean ResolveConnectorLabelOverlaps { get; set; } #

Gets or sets whether connector labels are nudged at render time to avoid page edges, unrelated shapes, and earlier labels.

public Boolean IncludeXmlDeclaration { get; set; } #

Gets or sets whether an XML declaration should be included.