IPrintEngine.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
10 #include <Mstn\Plot\PlotApi.h>
11 
12 MSTNPLATFORM_PRINT_TYPEDEFS (IPrintEngineCapability);
13 
16 
22 /*=================================================================================**/
30 {
32 virtual bool GetEnableSortOrder() const = 0;
33 
35 virtual void SetEnableSortOrder (bool value) = 0;
36 
38 virtual bool GetEnablePostStrokeLineStyles() const = 0;
39 
41 virtual void SetEnablePostStrokeLineStyles (bool value) = 0;
42 
44 virtual bool GetEnablePropertyMap() const = 0;
45 
47 virtual void SetEnablePropertyMap (bool value) = 0;
48 
50 virtual bool GetEnableDynamicPlot() const = 0;
51 
53 virtual void SetEnableDynamicPlot (bool value) = 0;
54 };
55 
56 /*=================================================================================**/
62 {
64 virtual IPlotterP GetEnginePlotter() = 0;
65 
67 virtual bool IsPreview() const = 0;
68 
70 virtual bool IsLegacyPreview() const = 0;
71 
73 virtual bool IsPartOfPrintSet() const = 0;
74 
76 virtual bool IsRasterized() const = 0;
77 
79 virtual int GetNumCopies() const = 0;
80 
82 virtual bool WasGeometryOutput() const = 0;
83 
85 virtual Transform GetTransform (PlotTagTransform tag) const = 0;
86 
88 virtual PlotFileSpecCR GetOutputFileSpec() const = 0;
89 
91 virtual void GetPrintDefinitionName (WStringR value) const = 0;
92 
94 virtual void GetPrintDefinitionSourceFspec (PlotFileSpecR value) const = 0;
95 
97 virtual void GetPrintSetPropertyValue (WCharCP name, PlotPropValueR value) const = 0;
98 
100 virtual void GetPrintDefinitionPropertyValue (WCharCP name, PlotPropValueR value) const = 0;
101 
103 virtual bool IsPlotBorderLicenseLabelNeeded() const = 0;
104 
106 virtual void GetLicenseLabel (WStringR label) const = 0;
107 
109 virtual IPrintEngineCapabilityR Capability() = 0;
110 
113 virtual ICadPrintHandlerP GetCadPrintHandler() = 0;
114 };
115 
117 
120 
#define END_PRINT_NAMESPACE
Definition: MstnTypes.h:40
#define END_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:30
PlotTagTransform
Transform Plotter properties.
Definition: IPlotter.h:183
#define bsiInterface
Definition: basedefs.h:31
Interface used by printer drivers and print event handlers to access print engine properties during p...
Definition: IPrintEngine.h:61
#define BEGIN_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:29
#define BEGIN_PRINT_NAMESPACE
Definition: MstnTypes.h:39
wchar_t const * WCharCP
Definition: Bentley.h:224
Interface used by printer drivers and print event handlers to query and modify the behavior of the pr...
Definition: IPrintEngine.h:29
3x4 matrix for defining coordinate frames and affine transformations.
Definition: transform.h:22
MSTNPLATFORM_PRINT_TYPEDEFS(IPrintEngineCapability)
A string class that has many of the same capabilities as std::string, plus additional functions such ...
Definition: WString.h:51

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.