Share via


SpreadsheetDocument.AddThumbnailPart Method

Definition

Overloads

AddThumbnailPart(ThumbnailPartType)

Adds a ThumbnailPart to the SpreadsheetDocument.

AddThumbnailPart(String)

Add a ThumbnailPart to the SpreadsheetDocument.

AddThumbnailPart(ThumbnailPartType)

Adds a ThumbnailPart to the SpreadsheetDocument.

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

Parameters

partType
ThumbnailPartType

The type of the ThumbnailPart.

Returns

The newly added ThumbnailPart.

Applies to

AddThumbnailPart(String)

Add a ThumbnailPart to the SpreadsheetDocument.

public DocumentFormat.OpenXml.Packaging.ThumbnailPart AddThumbnailPart (string contentType);
member this.AddThumbnailPart : string -> DocumentFormat.OpenXml.Packaging.ThumbnailPart
Public Function AddThumbnailPart (contentType As String) As ThumbnailPart

Parameters

contentType
String

The content type of the ThumbnailPart.

Returns

The newly added ThumbnailPart.

Applies to