#include <hps.h>
The Hardcopy::File::ExportOptionsKit class contains settings controlling hardcopy export. Calling Hardcopy::File::ExportOptionsKit::GetDefault() will return an options kit with values found in here.
Hardcopy::File::ExportOptionsKit::ExportOptionsKit |
( |
| ) |
|
Hardcopy::File::ExportOptionsKit::ExportOptionsKit |
( |
ExportOptionsKit const & |
in_kit | ) |
|
Hardcopy::File::ExportOptionsKit::ExportOptionsKit |
( |
ExportOptionsKit && |
in_that | ) |
|
The move constructor creates an ExportOptionsKit by transferring the underlying impl of the rvalue reference to this ExportOptionsKit thereby avoiding a copy and allocation.
- Parameters
-
bool Hardcopy::File::ExportOptionsKit::Empty |
( |
| ) |
const |
|
virtual |
bool Hardcopy::File::ExportOptionsKit::Equals |
( |
ExportOptionsKit const & |
in_kit | ) |
const |
Creates a ExportOptionsKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default.
- Returns
- A ExportOptionsKit with the default settings.
Type Hardcopy::File::ExportOptionsKit::ObjectType |
( |
| ) |
const |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from Object.
bool Hardcopy::File::ExportOptionsKit::operator!= |
( |
ExportOptionsKit const & |
in_kit | ) |
const |
The move assignment operator transfers the underlying impl of the rvalue reference to this ExportOptionsKit thereby avoiding a copy.
- Parameters
-
- Returns
- A reference to this ExportOptionsKit.
bool Hardcopy::File::ExportOptionsKit::operator== |
( |
ExportOptionsKit const & |
in_kit | ) |
const |
Sets the resolution of the image to be inserted into the Hardcopy.
- Parameters
-
in_resolution | Resolution (dots per inch or dots per centimeter). |
in_units | Units of preceding arguments. Defaults to Inches. |
- Returns
- A reference to this ExportOptionsKit.
- See also
- Default value
Sets the size of the image to be inserted into the Hardcopy.
- Parameters
-
in_width | Width in inches. |
in_height | Height in inches. |
in_units | Units of preceding arguments. Defaults to Inches |
- Returns
- A reference to this ExportOptionsKit.
- See also
- Default value
Enables or disables wysiwyg hardcopy output
- Parameters
-
in_onoff | true is on, false is off |
- Returns
- A reference to this ExportOptionsKit.
- See also
- Default value
bool Hardcopy::File::ExportOptionsKit::ShowResolution |
( |
float & |
out_resolution, |
|
|
Hardcopy::ResolutionUnits & |
out_units |
|
) |
| const |
Shows the resolution of the image to be inserted into the Hardcopy.
- Parameters
-
out_resolution | Resolution (dots per inch or dots per centimeter). |
out_units | Units of preceding arguments. |
- Returns
- true if a size setting was specified, false otherwise.
bool Hardcopy::File::ExportOptionsKit::ShowSize |
( |
float & |
out_width, |
|
|
float & |
out_height, |
|
|
Hardcopy::SizeUnits & |
out_units |
|
) |
| const |
Shows the size of the image to be inserted into the Hardcopy.
- Parameters
-
out_width | Width. |
out_height | Height. |
out_units | Units of preceding arguments. |
- Returns
- true if a size setting was specified, false otherwise.
bool Hardcopy::File::ExportOptionsKit::ShowWYSIWYG |
( |
bool & |
out_onoff | ) |
const |
Shows true if wysiwyg has been enabled
- Returns
- true if a size setting was specified, false otherwise.
The documentation for this class was generated from the following file: