Bearbeiten

Freigeben über


XpsDocument.AddThumbnail(XpsImageType) Method

Definition

Adds a thumbnail image to the package.

public:
 System::Windows::Xps::Packaging::XpsThumbnail ^ AddThumbnail(System::Windows::Xps::Packaging::XpsImageType imageType);
public System.Windows.Xps.Packaging.XpsThumbnail AddThumbnail (System.Windows.Xps.Packaging.XpsImageType imageType);
member this.AddThumbnail : System.Windows.Xps.Packaging.XpsImageType -> System.Windows.Xps.Packaging.XpsThumbnail
Public Function AddThumbnail (imageType As XpsImageType) As XpsThumbnail

Parameters

imageType
XpsImageType

The format of the image.

Returns

The newly added XpsThumbnail.

Applies to