Search
PrintOptions Members
Methods
 


Defines a set of properties that allow customization of various print and print-preview aspects.

The following tables list the members exposed by the PrintOptions type.

 Public Methods

  Name Description

getCustomPreviewTexts

Gets a dictionary with the custom texts to use in the built-in Print Preview form.

getFillContents

Gets a value indicating whether to print calendar elements with their original fill or to use a white brush for filling.

getFitToPage

Gets a value indicating whether the print output is scaled to fit in a single page, preserving the aspect ratio of the original view.

getLandscape

Gets the orientation of the pages.

getPageMargins

Gets the page margins.

getResourceHeaderTextsPerPage

Gets a value indicating whether row header texts in a resource view are printed on each page or only once in the middle of the row.

getScale

Gets the scale of the print output.

getScaleToPage

Gets a value indicating whether the print output is scaled to fit in a single page, without preserving the aspect ratio of the original view. This property has less priority than FitToPage. If both are set, FitToPage will take precedence.

setFillContents

Sets a value indicating whether to print calendar elements with their original fill or to use a white brush for filling.

setFitToPage

Sets a value indicating whether the print output is scaled to fit in a single page, preserving the aspect ratio of the original view.

setLandscape

Sets the orientation of the pages.

setPageMargins

Sets the page margins.

setResourceHeaderTextsPerPage

Sets a value indicating whether row header texts in a resource view are printed on each page or only once in the middle of the row.

setScale

Sets the scale of the print output.

setScaleToPage

Sets a value indicating whether the print output is scaled to fit in a single page, without preserving the aspect ratio of the original view. This property has less priority than FitToPage. If both are set, FitToPage will take precedence.

 See Also