Click or drag to resize

PresentationDocumentConvertToImageSource Method

Converts single slide specified in options of this PresentationDocument instance to an ImageSource instance.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public ImageSource ConvertToImageSource(
	ImageSaveOptions options
)

Parameters

options
Type: GemBox.PresentationImageSaveOptions
The options used when converting a single presentation's slide to an image.

Return Value

Type: ImageSource
A new ImageSource instance created from a single presentation's slide specified in options.
Remarks
For more information, see View slide in WPF Image control example.
See Also