共用方式為


CloneableExtensions Class

Definition

Extensions to enable package cloning.

public static class CloneableExtensions
type CloneableExtensions = class
Public Module CloneableExtensions
Inheritance
CloneableExtensions

Methods

Clone<TPackage>(TPackage, Package, OpenSettings)

Creates a clone of this OpenXml package, opened on the specified instance of Package.

Clone<TPackage>(TPackage, Package)

Creates a clone of this OpenXml package, opened on the specified instance of Package. The clone will be opened with the same OpenSettings as this OpenXml package.

Clone<TPackage>(TPackage, Stream, Boolean, OpenSettings)

Creates a clone of this OpenXml package, opened on the given stream.

Clone<TPackage>(TPackage, Stream, Boolean)

Creates a clone of this OpenXml package, opened on the given stream. The cloned OpenXml package is opened with the same OpenSettings as this OpenXml package.

Clone<TPackage>(TPackage, Stream)

Creates a clone of this OpenXml package, opened on the given stream. The cloned OpenXml package is opened with the same settings, i.e., FileOpenAccess and OpenSettings, as this OpenXml package.

Clone<TPackage>(TPackage, String, Boolean, OpenSettings)

Creates a clone of this OpenXml package opened from the given file (which will be created by cloning this OpenXml package).

Clone<TPackage>(TPackage, String, Boolean)

Creates a clone of this OpenXml package opened from the given file (which will be created by cloning this OpenXml package). The cloned OpenXml package is opened with the same OpenSettings as this OpenXml package.

Clone<TPackage>(TPackage, String)

Creates a clone of this OpenXml package opened from the given file (which will be created by cloning this OpenXml package). The cloned OpenXml package is opened with the same settings, i.e., FileOpenAccess and OpenSettings, as this OpenXml package.

Clone<TPackage>(TPackage)

Creates an editable clone of this OpenXml package, opened on a MemoryStream with expandable capacity and using default OpenSettings.

Applies to