ProjectSaveOptions
OfficeIMO.Project
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
- Method ProjectDocument.AssessSave
- Method ProjectDocument.Clone
- Method ProjectDocument.Save
- Method ProjectDocument.SaveAsync
- Method ProjectDocument.ToXml
Constructors
public ProjectSaveOptions() #Inherited Methods
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.