Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PublisherLoadOptions

OfficeIMO.Publisher

Namespace
OfficeIMO.Publisher
Assembly
OfficeIMO.Publisher
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

Resource bounds for loading, editing and projecting a Publisher publication. In-memory creation uses the same bounds for its model and projection.

Inheritance

  • object
  • PublisherLoadOptions

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 2

Constructors

public PublisherLoadOptions() #

Methods

public PublisherLoadOptions Clone() #

Creates a validated independent options copy. Application image codecs and font providers remain shared.

Properties

public static PublisherLoadOptions UntrustedDefaults { get; } #

Returns fresh bounded settings for untrusted publications using the existing supported import and projection limits.

public OfficeLegacyImportLimits Limits { get; set; } #

Source byte, text, record, object, and compound-stream limits. MaxInputBytes also bounds cumulative encoded image processing. MaxItems bounds image-store entries, parsed and projected gradient stops, table tracks and cells, and native table utility paint records. MaxTextCharacters also bounds copied table text and edited or projected labels.

public int MaxPages { get; set; } #

Maximum number of document and master pages combined.

public int MaxNestingDepth { get; set; } #

Maximum nesting of publication containers and drawing groups.

public int MaxImageBytes { get; set; } #

Maximum extracted bytes for one image, including decompressed metafiles.

public int MaxTotalImageBytes { get; set; } #

Maximum total extracted and projected image bytes.

public IOfficeRasterImageCodec? ImageCodec { get; set; } #

Optional trusted application codec for projecting native WMF/EMF pictures and supported raster payloads requiring picture effects. Original bytes remain in Images.

public OfficeFontFaceCollection? Fonts { get; set; } #

Optional scoped font faces used for story flow and drawing rendering. The collection is copied; providers remain shared.

public long MaxRasterPixels { get; set; } #

Maximum decoded pixels for one projected picture, including application codec output and picture-effect decoding.

public long MaxImageProcessingPixels { get; set; } #

Maximum cumulative picture-effect work in pixels. Charges the selected raster once for decoding and once for filtering, plus each inspected GIF, WebP or icon frame.