API Reference

Class

ExcelVisualImage

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Modifiers sealed

Positioned worksheet image metadata in an Excel range snapshot.

Inheritance

  • Object
  • ExcelVisualImage

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Properties

public String Name { get; } #

Drawing name.

public Int32 Order { get; } #

Zero-based source drawing layer order.

public String ContentType { get; } #

Image content type.

public OfficeImageFormat DetectedFormat { get; } #

Detected image format based on the image bytes.

public Byte[] Bytes { get; } #

Image bytes.

public Double SourceWidth { get; } #

Intrinsic source image width in pixels, when it could be identified.

public Double SourceHeight { get; } #

Intrinsic source image height in pixels, when it could be identified.

public Double X { get; } #

X position in CSS pixels.

public Double Y { get; } #

Y position in CSS pixels.

public Double Width { get; } #

Image width in CSS pixels.

public Double Height { get; } #

Image height in CSS pixels.

public OfficeImageSourceCrop SourceCrop { get; } #

Normalized source-image crop from the authored image edges.

public Double CropLeftRatio { get; } #

Normalized crop from the source image left edge.

public Double CropTopRatio { get; } #

Normalized crop from the source image top edge.

public Double CropRightRatio { get; } #

Normalized crop from the source image right edge.

public Double CropBottomRatio { get; } #

Normalized crop from the source image bottom edge.

public Boolean HasCrop { get; } #

Whether the image has any authored crop rectangle.

public Double RotationDegrees { get; } #

Clockwise rotation in degrees.

public Boolean FlipHorizontal { get; } #

Whether the image has an authored horizontal flip transform.

public Boolean FlipVertical { get; } #

Whether the image has an authored vertical flip transform.

public Boolean HasRotation { get; } #

Whether the image has any authored rotation transform.

public String Source { get; } #

Source reference used by export diagnostics.