共用方式為


XpsDocument.AddThumbnail(XpsImageType) 方法

定義

將縮圖影像加入至封裝。

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

參數

imageType
XpsImageType

影像的格式。

傳回

XpsThumbnail

新加入的 XpsThumbnail

適用於