View3.Export(String, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Exporte la vue vers un fichier au format spécifié.
public:
void Export(System::String ^ bstrURL, System::String ^ bstrFormat);
public void Export(string bstrURL, string bstrFormat);
abstract member Export : string * string -> unit
Public Sub Export (bstrURL As String, bstrFormat As String)
Paramètres
- bstrURL
- String
Emplacement du répertoire dans lequel le fichier de la vue exportée sera enregistré.
- bstrFormat
- String
Type de format de fichier vers lequel exporter. Les valeurs prises en charge sont :"MHT » - Archive web, format de fichier unique (.mht)"PDF » - Fichier format de document portable (.pdf)"XPS » - Document XPS (.xps)
Implémente
Remarques
Si elle est utilisée dans un formulaire qui ne dispose pas d'une autorisation totale, la méthode Export renvoie une erreur « autorisation refusée ».