Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioSvgSaveOptions

OfficeIMO.Visio

Namespace
OfficeIMO.Visio
Assembly
OfficeIMO.Visio
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • VisioSvgSaveOptions

Usage

Explore 10 API references to this type

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

Returned or exposed by 1

Accepted by parameters 9

Constructors

public VisioSvgSaveOptions() #

Properties

public int 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 physical page inch after applying the page's drawing scale. Defaults to 96 so the SVG maps naturally to browser pixels.

public OfficeColor? BackgroundColor { get; set; } #

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

public bool RenderText { get; set; } #

Gets or sets whether shape text is emitted.

public VisioLayerRenderMode LayerMode { get; set; } #

Layer selection for the preview. Defaults to visible screen layers.

public OfficeFontFaceCollection Fonts { get; set; } #

Caller-supplied deterministic TrueType faces embedded in SVG output.

public bool RenderStencilArtwork { get; set; } #

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

public bool RenderConnectorLabels { get; set; } #

Gets or sets whether connector labels are emitted.

public bool ResolveConnectorLabelOverlaps { get; set; } #

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

public bool IncludeXmlDeclaration { get; set; } #

Gets or sets whether an XML declaration should be included.