XpsDocument.AddThumbnail(XpsImageType) 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.
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.