API Reference
VisioPngSaveOptions
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
- Extension method VisioDocument.SaveAsPng
- Extension method VisioDocument.SaveAsPng
- Extension method VisioDocument.SaveAsPngAsync
- Extension method VisioDocument.SaveAsPngAsync
- Extension method VisioDocument.ToPng
- Extension method VisioPage.SaveAsPng
- Extension method VisioPage.SaveAsPng
- Extension method VisioPage.SaveAsPngAsync
- Extension method VisioPage.SaveAsPngAsync
- Extension method VisioPage.ToPng
- Method VisioPngExportExtensions.SaveAsPng
- Method VisioPngExportExtensions.SaveAsPng
- Method VisioPngExportExtensions.SaveAsPng
- Method VisioPngExportExtensions.SaveAsPng
- Method VisioPngExportExtensions.SaveAsPngAsync
- Method VisioPngExportExtensions.SaveAsPngAsync
- Method VisioPngExportExtensions.SaveAsPngAsync
- Method VisioPngExportExtensions.SaveAsPngAsync
- Method VisioPngExportExtensions.ToPng
- Method VisioPngExportExtensions.ToPng
Constructors
public VisioPngSaveOptions() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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 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 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.
public Int64 MaximumRasterPixels { get; set; } #Maximum output pixels allocated by the retained PNG API. Oversized requests are reduced or rejected according to RasterOverflowBehavior.
public OfficeRasterOverflowBehavior RasterOverflowBehavior { get; set; } #Controls whether an oversized PNG request is safely reduced or rejected.