Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeDrawingRasterRenderOptions

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Options for rasterizing an Office drawing with an optional image codec.

Inheritance

  • Object
  • OfficeDrawingRasterRenderOptions

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

Properties

public Double Scale { get; set; } #

Output scale. Defaults to 1.

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

Optional canvas background.

public IOfficeRasterImageCodec ImageCodec { get; set; } #

Optional decoder for formats not handled by the dependency-free core.

public Boolean ThrowOnImageDecodeFailure { get; set; } #

Throws when an image cannot be decoded or exceeds the raster limit, instead of omitting it.

public IOfficeTextShapingProvider TextShapingProvider { get; set; } #

Optional host text shaper used for complex-script glyph positioning.

public String TextShapingLanguage { get; set; } #

Optional BCP 47 language hint passed to the text shaper.

public ICollection<OfficeImageExportDiagnostic> DiagnosticSink { get; set; } #

Optional sink for fidelity diagnostics discovered while rasterizing the drawing.

public String DiagnosticSource { get; set; } #

Optional source label attached to rasterization diagnostics.

public Int64 MaximumRasterPixels { get; set; } #

Maximum pixels allowed for the output and every nested raster surface.

public CancellationToken CancellationToken { get; set; } #

Cancellation observed between drawing elements and nested render stages.