Compartilhar via


PresentationDocument.OpenClone Método

Definição

Sobrecargas

OpenClone(Stream, Boolean, OpenSettings)

Abre o pacote OpenXml clonado no fluxo determinado.

OpenClone(String, Boolean, OpenSettings)

Abre o pacote OpenXml clonado no arquivo determinado.

OpenClone(Stream, Boolean, OpenSettings)

Abre o pacote OpenXml clonado no fluxo determinado.

protected override DocumentFormat.OpenXml.Packaging.OpenXmlPackage OpenClone (System.IO.Stream stream, bool isEditable, DocumentFormat.OpenXml.Packaging.OpenSettings openSettings);
override this.OpenClone : System.IO.Stream * bool * DocumentFormat.OpenXml.Packaging.OpenSettings -> DocumentFormat.OpenXml.Packaging.OpenXmlPackage
Protected Overrides Function OpenClone (stream As Stream, isEditable As Boolean, openSettings As OpenSettings) As OpenXmlPackage

Parâmetros

stream
Stream

O fluxo no qual o pacote OpenXml clonado será aberto.

isEditable
Boolean

No modo ReadWrite. Modo false for Read only.

openSettings
OpenSettings

As configurações avançadas para abrir um documento.

Retornos

Uma nova instância do OpenXmlPackage.

Aplica-se a

OpenClone(String, Boolean, OpenSettings)

Abre o pacote OpenXml clonado no arquivo determinado.

protected override DocumentFormat.OpenXml.Packaging.OpenXmlPackage OpenClone (string path, bool isEditable, DocumentFormat.OpenXml.Packaging.OpenSettings openSettings);
override this.OpenClone : string * bool * DocumentFormat.OpenXml.Packaging.OpenSettings -> DocumentFormat.OpenXml.Packaging.OpenXmlPackage
Protected Overrides Function OpenClone (path As String, isEditable As Boolean, openSettings As OpenSettings) As OpenXmlPackage

Parâmetros

path
String

O caminho e o nome do arquivo do pacote OpenXml de destino.

isEditable
Boolean

No modo ReadWrite. Modo false for Read only.

openSettings
OpenSettings

As configurações avançadas para abrir um documento.

Retornos

Uma nova instância do OpenXmlPackage.

Aplica-se a