Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeDrawingRasterRenderOptions

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • OfficeDrawingRasterRenderOptions

Usage

Explore 2 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.

Accepted by parameters 2

Constructors

public OfficeDrawingRasterRenderOptions() #

Properties

public double Scale { get; set; } #

Output scale. Defaults to 1.

public OfficeColor? Background { get; set; } #

Optional canvas background.

public IOfficeRasterImageCodec? ImageCodec { get; set; } #

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

public bool 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 long MaximumRasterPixels { get; set; } #

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

public long MaximumClipEdgeChecks { get; set; } #

Maximum polygon edge checks while painting through non-antialiased clips on one raster canvas.

public CancellationToken CancellationToken { get; set; } #

Cancellation observed between drawing elements and nested render stages.