Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeVisualConversionResult

OfficeIMO.ChartForgeX

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

Contains reusable Office representations and metadata for one ChartForgeX visual artifact.

Inheritance

  • object
  • OfficeVisualConversionResult

Usage

Explore 4 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 1

Methods

public byte[] GetPlacementBytes() #

Returns an independent copy of the payload selected for Word, Excel, and PowerPoint placement.

Returns

byte[]
public byte[] GetSvgBytes() #

Returns an independent copy of the rendered SVG payload.

Returns

byte[]
public OfficeVisualConversionResult WithSize(double widthPoints, double? heightPoints = null, OfficeImageFit fit = Contain) #

Returns a resized representation without rendering or importing the source again.

Parameters

widthPoints double required
Target width, or the containing box width when height is supplied.
heightPoints double? = null optional
Optional containing box height. When omitted, proportions are preserved.
fit OfficeIMO.Drawing.OfficeImageFit = Contain optional
Contain preserves proportions; Stretch explicitly permits distortion.

Properties

public VisualArtifact? Artifact { get; } #

Gets the source visual artifact.

public string Id { get; } #

Gets the stable visual identifier.

public string Title { get; } #

Gets the visual title when one was supplied.

public OfficeDrawing Drawing { get; } #

Gets the Office drawing representation used by PDF and drawing consumers.

public OfficeVisualMediaFormat PlacementFormat { get; } #

Gets the format of the payload used by image-based Office placements.

public string PlacementMediaType { get; } #

Gets the MIME type of the payload used by image-based Office placements.

public string PlacementFileExtension { get; } #

Gets the file extension of the payload used by image-based Office placements.

public double WidthPoints { get; } #

Gets the resolved output width in points.

public double HeightPoints { get; } #

Gets the resolved output height in points.

public string AlternativeText { get; } #

Gets the resolved accessible description used by document placement helpers.

public bool IsDecorative { get; } #

Gets whether the source visual is decorative and should be omitted from accessibility structure.

public OfficeVisualSvgPolicy SvgPolicy { get; } #

Gets the fidelity policy selected for this conversion.

public IReadOnlyList<OfficeVisualRegion> Regions { get; } #

Gets artifact regions transformed to Office point coordinates.

public OfficeVisualConversionReport Report { get; } #

Gets the conversion fidelity report.