Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Dialog to initialize or modify the margins of a printer. More...
#include <ilviews/printing/dialogs.h>
Public Member Functions | |
IlvPageMarginDialog (IlvDisplay *display, IlvSystemView transientFor=0) | |
Constructor. | |
IlBoolean | get (IlBoolean grab=IlFalse, IlvCursor *cursor=0) |
Shows the dialog and returns the result. | |
void | getMargins (IlFloat &left, IlFloat &right, IlFloat &top, IlFloat &bottom) const |
Gets the selected margin values. | |
void | setMargins (IlFloat left, IlFloat right, IlFloat top, IlFloat bottom) |
Sets the default border values. |
Dialog to initialize or modify the margins of a printer.
Library: ilvprtdlg
IlvPageMarginDialog::IlvPageMarginDialog | ( | IlvDisplay * | display, | |
IlvSystemView | transientFor = 0 | |||
) |
Constructor.
Initializes a new instance of an IlvPageMarginDialog
display | The connection to the display. |
Shows the dialog and returns the result.
grab | A Boolean value specifying whether the dialog should be system modal, that is, grabs input events on the whole system so that, until the function returns, other applications will not be able to get any keyboard or mouse event. In this case, you can specify the cursor to be displayed in the parameter cursor. If grab is set to IlFalse (the default), the dialog is application modal, that is, the application does not receive input events in other windows. | |
cursor | The cursor used to choose the color when the dialog is system modal. |
void IlvPageMarginDialog::getMargins | ( | IlFloat & | left, | |
IlFloat & | right, | |||
IlFloat & | top, | |||
IlFloat & | bottom | |||
) | const |
Gets the selected margin values.
left | The left border value. | |
right | The right border value. | |
top | The top border value. | |
bottom | The bottom border value. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.