MainDocumentPart.AddThumbnailPart 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.
Surcharges
AddThumbnailPart(ThumbnailPartType) |
Ajoute un ThumbnailPart au MainDocumentPart |
AddThumbnailPart(String) |
Ajoute un ThumbnailPart au MainDocumentPart |
AddThumbnailPart(ThumbnailPartType, String) |
Ajoute un ThumbnailPart au MainDocumentPart |
AddThumbnailPart(String, String) |
Ajoute un ThumbnailPart au MainDocumentPart |
AddThumbnailPart(ThumbnailPartType)
Ajoute un ThumbnailPart au MainDocumentPart
public DocumentFormat.OpenXml.Packaging.ThumbnailPart AddThumbnailPart (DocumentFormat.OpenXml.Packaging.ThumbnailPartType partType);
member this.AddThumbnailPart : DocumentFormat.OpenXml.Packaging.ThumbnailPartType -> DocumentFormat.OpenXml.Packaging.ThumbnailPart
Public Function AddThumbnailPart (partType As ThumbnailPartType) As ThumbnailPart
Paramètres
- partType
- ThumbnailPartType
Type de composant de ThumbnailPart
Retours
Composant nouvellement ajouté.
S’applique à
AddThumbnailPart(String)
Ajoute un ThumbnailPart au MainDocumentPart
public DocumentFormat.OpenXml.Packaging.ThumbnailPart AddThumbnailPart (string contentType);
member this.AddThumbnailPart : string -> DocumentFormat.OpenXml.Packaging.ThumbnailPart
Public Function AddThumbnailPart (contentType As String) As ThumbnailPart
Paramètres
- contentType
- String
Type de contenu de ThumbnailPart
Retours
Composant nouvellement ajouté.
S’applique à
AddThumbnailPart(ThumbnailPartType, String)
Ajoute un ThumbnailPart au MainDocumentPart
public DocumentFormat.OpenXml.Packaging.ThumbnailPart AddThumbnailPart (DocumentFormat.OpenXml.Packaging.ThumbnailPartType partType, string id);
member this.AddThumbnailPart : DocumentFormat.OpenXml.Packaging.ThumbnailPartType * string -> DocumentFormat.OpenXml.Packaging.ThumbnailPart
Public Function AddThumbnailPart (partType As ThumbnailPartType, id As String) As ThumbnailPart
Paramètres
- partType
- ThumbnailPartType
Type de composant de ThumbnailPart
- id
- String
ID de relation
Retours
Composant nouvellement ajouté.
S’applique à
AddThumbnailPart(String, String)
Ajoute un ThumbnailPart au MainDocumentPart
public DocumentFormat.OpenXml.Packaging.ThumbnailPart AddThumbnailPart (string contentType, string id);
member this.AddThumbnailPart : string * string -> DocumentFormat.OpenXml.Packaging.ThumbnailPart
Public Function AddThumbnailPart (contentType As String, id As String) As ThumbnailPart
Paramètres
- contentType
- String
Type de contenu de ThumbnailPart
- id
- String
ID de relation
Retours
Composant nouvellement ajouté.