API Reference

Class

VisioPngSaveOptions

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Modifiers sealed

Options for native dependency-free PNG export from an in-memory Visio page.

Inheritance

  • Object
  • VisioPngSaveOptions

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 VisioPngSaveOptions() #

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 output pixels used per Visio inch. Defaults to 96.

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 rendered.

public String FontFilePath { get; set; } #

Optional TrueType/OpenType font file used for native PNG text outlines. When unset or unreadable, the renderer uses the built-in managed fallback discovery path.

public String FontFaceName { get; set; } #

Optional font face name used when selecting a face from a TrueType/OpenType collection.

public Nullable<Int32> FontCollectionIndex { get; set; } #

Optional zero-based face index used when selecting a face from a TrueType/OpenType collection.

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 rendered.

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 Int32 Supersampling { get; set; } #

Supersampling factor used for smoother native raster output. Defaults to 3.