DocumentConvertToWpf Method (RenderSettings, ConvertToWpfOptions, Int32, Int32)

Creates a WPF FixedDocument instance for this PDF document.

Namespace:  TallComponents.PDF.Rasterizer
Assembly:  TallComponents.PDF.Rasterizer (in TallComponents.PDF.Rasterizer.dll) Version:
public FixedDocument ConvertToWpf(
	RenderSettings renderSettings,
	ConvertToWpfOptions convertOptions,
	int firstPageIndex,
	int lastPageIndex
The rendersetting that will be used. These basically influence the graphical aspects of the result, such as the quality of the graphics, font mapping and which types of elements are converted.
Type: TallComponents.PDF.RasterizerConvertToWpfOptions
The conversion options. These control coversion that are not covered by the rendersettings.
Type: SystemInt32
The last page to convert (zero-based).

Return Value

Type: FixedDocument
A FixedDocument instance.
Unlicensed versions of the software will only produce correct output for the first page of a document. In order to avoid this effect, one may set the ConvertToImages option of the convertOptions, at the cost of loosing resolution independence.
See Also