CSysPrintDialog



Implementation of the system print setup dialog component.

You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.

class CSysPrintDialog :public virtual ISysPrintDialog, public CComponent
{
public:
    bool isSelectCollate() override;
    bool isSelectCurrentPage() override;
    bool isDisablePrintToFile() override;
    bool isHidePrintToFile() override;
    bool isDisableCurrentPage() override;
    bool isNoPageNums() override;
    bool isNoSelection() override;
    bool isSelectPageNums() override;
    bool isSelectPrintToFile() override;
    bool isSelectSelection() override;
    int getMinPage() override;
    int getMaxPage() override;
    int getMaxPageRangeCount() override;
    int getPageRangeCount() override;
    Point getPageRange(const int index) override;
    int getCopies() override;
    String getDeviceName() override;
    bool isLandscape() override;
    IDialogs::PrintPaperSize getPaperSize() override;
    float getPaperLength() override;
    float getPaperWidth() override;
    float getScale() override;
    IDialogs::PrintPaperSource getPaperSource() override;
    IDialogs::PrintQuality getPrintQuality() override;
    bool isMonochrome() override;
    IDialogs::PrintDuplex getDuplex() override;
    IDialogs::PrintTTOption getTTOption() override;
    bool isCollate() override;
    IDialogs::PrintMediaType getMediaType() override;
    IDialogs::PrintDitherType getDitherType() override;

    bool setSelectCollate(const bool value) override;
    bool setSelectCurrentPage(const bool value) override;
    bool setDisablePrintToFile(const bool value) override;
    bool setHidePrintToFile(const bool value) override;
    bool setDisableCurrentPage(const bool value) override;
    bool setNoPageNums(const bool value) override;
    bool setNoSelection(const bool value) override;
    bool setSelectPageNums(const bool value) override;
    bool setSelectPrintToFile(const bool value) override;
    bool setSelectSelection(const bool value) override;
    bool setMinPage(const int value) override;
    bool setMaxPage(const int value) override;
    bool setMaxPageRangeCount(const int value) override;
    bool setPageRangeCount(const int value) override;
    bool setPageRange(const int index, const Point &value) override;
    bool setCopies(const int value) override;

    IDialogs::PrintDialogResult Execute(void **handle) override;

    CSysPrintDialog();
    CSysPrintDialog(IForm *parent);
};
Namespace: nitisa::standard
Include: Standard/Components/SysPrintDialog/SysPrintDialog.h