EmfDevice.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include "Aspose.PDF.Cpp/Devices/ImageDevice.h"
5 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
6 
7 namespace Aspose
8 {
9 namespace Pdf
10 {
11 namespace Devices
12 {
13 class Resolution;
14 } // namespace Devices
15 class Page;
16 class PageSize;
17 } // namespace Pdf
18 } // namespace Aspose
19 namespace System
20 {
21 namespace IO
22 {
23 class Stream;
24 } // namespace IO
25 } // namespace System
26 
27 namespace Aspose {
28 
29 namespace Pdf {
30 
31 namespace Devices {
32 
36 class ASPOSE_PDF_SHARED_CLASS EmfDevice final : public Aspose::Pdf::Devices::ImageDevice
37 {
38  typedef EmfDevice ThisType;
40 
41  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
42  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
43 
44 public:
45 
49  ASPOSE_PDF_SHARED_API EmfDevice();
56  ASPOSE_PDF_SHARED_API EmfDevice(System::SharedPtr<Aspose::Pdf::Devices::Resolution> resolution);
67  ASPOSE_PDF_SHARED_API EmfDevice(int32_t width, int32_t height);
75  ASPOSE_PDF_SHARED_API EmfDevice(System::SharedPtr<PageSize> pageSize);
89  ASPOSE_PDF_SHARED_API EmfDevice(int32_t width, int32_t height, System::SharedPtr<Aspose::Pdf::Devices::Resolution> resolution);
100  ASPOSE_PDF_SHARED_API EmfDevice(System::SharedPtr<PageSize> pageSize, System::SharedPtr<Aspose::Pdf::Devices::Resolution> resolution);
101 
111  ASPOSE_PDF_SHARED_API void Process(System::SharedPtr<Page> page, System::SharedPtr<System::IO::Stream> output) override;
112 
113 };
114 
115 } // namespace Devices
116 } // namespace Pdf
117 } // namespace Aspose
118 
119 
An abstract class for image devices.
Definition: ImageDevice.h:61
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: Artifact.h:67
Represents image device that helps to save pdf document pages into emf.
Definition: EmfDevice.h:36
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Abstract class for all types of devices. Device is used to represent pdf document in some format...
Definition: Device.h:26
Definition: AFRelationship.h:4
The coordinates are in the page coordinate context.
Whole PDF file will be submitted.