Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeRemoteImageLoadOptions

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Controls bounded HTTP and HTTPS image retrieval.

Inheritance

  • Object
  • OfficeRemoteImageLoadOptions

Usage

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

Accepted by parameters

Constructors

Properties

public Int64 MaximumBytes { get; set; } #

Maximum response size in bytes.

public TimeSpan Timeout { get; set; } #

Maximum time allowed for the complete request.

public Int32 MaximumRedirects { get; set; } #

Maximum number of same-origin redirects that may be followed.

public Boolean AllowPrivateNetworkAddresses { get; set; } #

Allows loopback, private, link-local, multicast, and otherwise non-public destination addresses. The secure default is false; enable this only for explicitly trusted intranet image sources.

public ISet<String> AllowedHosts { get; } #

Optional exact host allowlist. When non-empty, every initial and redirected destination must match one of these host names (case-insensitive).

Fields

public const Int64 DefaultMaximumBytes #

Default maximum response size: 10 MiB.

Value: 10485760