CSysPageSetupDialog



Implementation of the system page setup dialog component.

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

class CSysPageSetupDialog :public virtual ISysPageSetupDialog, public CComponent
{
public:
    bool isDisableMargins() override;
    bool isDisableOrientation() override;
    bool isDisablePagePainting() override;
    bool isDisablePaper() override;
    bool isNoNetworkButton() override;
    RectF getMinMargins() override;
    String getDeviceName() override;
    RectF getMargins() override;
    bool isLandscape() override;
    IDialogs::PRINT_PAPER_SIZE getPaperSize() override;
    float getPaperLength() override;
    float getPaperWidth() override;
    float getScale() override;
    int getCopies() override;
    IDialogs::PRINT_PAPER_SOURCE getPaperSource() override;
    IDialogs::PRINT_QUALITY getPrintQuality() override;
    bool isMonochrome() override;
    IDialogs::PRINT_DUPLEX getDuplex() override;
    IDialogs::PRINT_TT_OPTION getTTOption() override;
    bool isCollate() override;
    IDialogs::PRINT_MEDIA_TYPE getMediaType() override;
    IDialogs::PRINT_DITHER_TYPE getDitherType() override;
    PointF getSize() override;

    bool setDisableMargins(const bool value) override;
    bool setDisableOrientation(const bool value) override;
    bool setDisablePagePainting(const bool value) override;
    bool setDisablePaper(const bool value) override;
    bool setNoNetworkButton(const bool value) override;
    bool setMinMargins(const RectF &value) override;
    bool setMargins(const RectF &value) override;

    bool Execute() override;

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