OfficeVisualConversionResult
OfficeIMO.ChartForgeX
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.
Returned or exposed by 3
- Method OfficeVisualConversionExtensions.ToOfficeVisual
- Method OfficeVisualConversionResult.WithSize
- Extension method OfficeVisualSource.ToOfficeVisual
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 OfficeVisualConversionResult WithSize(double widthPoints, double? heightPoints = null, OfficeImageFit fit = Contain) #Returns a resized representation without rendering or importing the source again.
Parameters
- widthPoints double
- Target width, or the containing box width when height is supplied.
- heightPoints double? = null
- Optional containing box height. When omitted, proportions are preserved.
- fit OfficeIMO.Drawing.OfficeImageFit = Contain
- Contain preserves proportions; Stretch explicitly permits distortion.
Returns
OfficeVisualConversionResultInherited Methods
Properties
public VisualArtifact? Artifact { get; } #Gets the source visual artifact.
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.