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

适用于