OfficeDrawingRasterRenderOptions
OfficeIMO.Drawing
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() #Inherited Methods
Properties
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.