SpreadsheetDocument.AddThumbnailPart Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for