Partager via


selectedPages property

Gets or sets a value that indicates whether the entire document or a selected range of pages is printed.

Syntax

HRESULT value = object.put_selectedPages(VARIANT_BOOL v);HRESULT value = object.get_selectedPages(VARIANT_BOOL* p);

Property values

Type: VARIANT_BOOL

A pointer to a VARIANT_BOOL value that, when set to TRUE, indicates that the entire document is printed, and, when set to FALSE, indicates that only the selected pages of the document are printed.

See also

Reference

ITemplatePrinter::pageTo

ITemplatePrinter::pageFrom