Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioPngSaveOptions

OfficeIMO.Visio

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

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

Inheritance

  • object
  • VisioPngSaveOptions

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

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 output pixels used per physical page inch after applying the page's drawing scale. Defaults to 96.

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

public VisioLayerRenderMode LayerMode { get; set; } #

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

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 int? FontCollectionIndex { get; set; } #

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

public OfficeFontFaceCollection Fonts { get; set; } #

Caller-supplied deterministic TrueType faces used before platform fallback.

public IOfficeTextShapingProvider? TextShapingProvider { get; set; } #

Optional host text shaper used for complex-script raster text.

public string? TextShapingLanguage { get; set; } #

Optional BCP 47 language hint passed to the text shaper.

public CancellationToken CancellationToken { get; set; } #

Cancellation observed between shapes and connectors.

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

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

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

public long MaximumRasterPixels { get; set; } #

Maximum output pixels allocated by the retained PNG API. Oversized requests are reduced or rejected according to VisioPngSaveOptions.RasterOverflowBehavior.

public long MaximumTotalEncodedBytes { get; set; } #

Maximum number of encoded PNG bytes returned or written by the retained PNG API.

public OfficeRasterOverflowBehavior RasterOverflowBehavior { get; set; } #

Controls whether an oversized PNG request is safely reduced or rejected.