CustomPrintEventArgs.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/string.h>
5 #include <system/eventargs.h>
6 
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose
10 {
11 namespace Pdf
12 {
13 namespace Printing
14 {
15 class PageSettings;
16 class PrinterSettings;
17 } // namespace Printing
18 } // namespace Pdf
19 } // namespace Aspose
20 
21 namespace Aspose {
22 
23 namespace Pdf {
24 
25 namespace Printing {
26 
30 class ASPOSE_PDF_SHARED_CLASS CustomPrintEventArgs : public System::EventArgs
31 {
34 
35  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
36  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
37 
38 public:
39 
52 
60 
61 protected:
62 
66  bool get_Handled() const;
70  void set_Handled(bool value);
71 
72 private:
73 
74  bool pr_Handled;
75 
76 };
77 
78 } // namespace Printing
79 } // namespace Pdf
80 } // namespace Aspose
81 
82 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
System::SharedPtr< Aspose::Pdf::Printing::PrinterSettings > PrinterSettings
Gets information about the printer the document should be printed on.
Definition: CustomPrintEventArgs.h:47
The base class for classes that represent a context that is passed to the event subscribers when an e...
Definition: eventargs.h:18
Provides data for the PdfViewer::CustomPrint event.
Definition: CustomPrintEventArgs.h:30
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
System::SharedPtr< Aspose::Pdf::Printing::PageSettings > PageSettings
Gets settings that should be applied to each page of the document.
Definition: CustomPrintEventArgs.h:51
System::String FileName
Gets the name of the file that is being printed.
Definition: CustomPrintEventArgs.h:43
Definition: AFRelationship.h:4
Whole PDF file will be submitted.