Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ProjectSaveOptions

OfficeIMO.Project

Namespace
OfficeIMO.Project
Assembly
OfficeIMO.Project
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Serialization format, fidelity, output bounds, and file conflict policy.

Inheritance

  • object
  • ProjectSaveOptions

Usage

Explore 5 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 5

Constructors

public ProjectSaveOptions() #

Properties

public ProjectFileFormat Format { get; set; } #

Target format. Explicit values must agree with a path's extension.

public ProjectMpxEncoding? MpxEncoding { get; set; } #

MPX character mapping. Null retains an MPX source declaration; new MPX output uses Windows 1252. Unrepresentable characters are rejected.

public char? MpxSeparator { get; set; } #

MPX field separator. Null retains the source separator or uses a comma for new output. Rewrites reject +, -, ., % and ? because these conflict with dependency syntax.

public bool AllowLoss { get; set; } #

Allows a save when modeled edits may invalidate unmodeled source content. Default: false, which blocks it.

public OfficeConversionFileConflictPolicy FileConflictPolicy { get; set; } #

Existing-file behavior. Associated saves replace by default through the shared atomic writer.

public bool PreserveUnchangedBytes { get; set; } #

Returns original bytes when no edits were made.

public bool Indent { get; set; } #

Indents newly serialized XML.

public long MaxOutputBytes { get; set; } #

Maximum serialized output bytes.