Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeRemoteImage

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Contains image content retrieved from an HTTP or HTTPS source.

Inheritance

  • Object
  • OfficeRemoteImage

Usage

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

Methods

public Byte[] ToBytes() #
Returns: Byte[]

Returns a defensive copy of the downloaded image bytes.

public MemoryStream ToStream() #
Returns: MemoryStream

Returns a new readable stream containing the downloaded image.

Properties

public Uri Source { get; } #

The final source URI after any accepted redirects.

public String FileName { get; } #

A suggested file name derived from the source URI.

public String ContentType { get; } #

The normalized image MIME content type returned by the server.