RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Dialogs.TPrintDialogOption Enumeration

TPrintDialogOption and TPrintDialogOptions specify options for a TPrintDialog component.

Pascal
TPrintDialogOption = (
  poPrintToFile,
  poPageNums,
  poSelection,
  poWarning,
  poHelp,
  poDisablePrintToFile
);
C++
enum TPrintDialogOption {
  poPrintToFile,
  poPageNums,
  poSelection,
  poWarning,
  poHelp,
  poDisablePrintToFile
};

TPrintDialogOptions is a set of TPrintDialogOption values. The possible values of TPrintDialogOption are

Value 
Meaning 
poDisablePrintToFile  
Disables (grays) the Print To File Check box. (Applicable only if the poPrintToFile flag is set.)  
poHelp  
Displays a Help button in the dialog. May not work in some versions of Windows 95.  
poPageNums  
Enables the Pages radio button, allowing the user to specify a page range.  
poPrintToFile  
Displays a Print To File check box in the dialog.  
poSelection  
Enables the Selection radio button, allowing the user to print selected (highlighted) text.  
poWarning  
Generates a warning message if the user tries to send a job to an uninstalled printer.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!