Loading...
Searching...
No Matches
PDFDCEX.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3// Consult legal.txt regarding legal and license information.
4//---------------------------------------------------------------------------------------
5#if defined(_WIN32)
6
7#ifndef PDFTRON_H_CPPPDFPDFDCEX
8#define PDFTRON_H_CPPPDFPDFDCEX
9
10#include <PDF/PDFDoc.h>
11#include <C/PDF/TRN_PDFDCEX.h>
12#include <SDF/Obj.h>
13#include <Windows.h>
14
15 namespace pdftron{
16 namespace PDF {
17
63 class PDFDCEX
64{
65 public:
66
70 PDFDCEX ();
71
75 ~PDFDCEX ();
76
140 HDC Begin(PDFDoc & in_pdfdoc, const Point& page_dimension = Point(8.5, 11));
141
149 void End();
150
151 UInt32 GetDPI();
152
156 void Destroy();
157
158// @cond PRIVATE_DOC
159 private:
160 TRN_PDFDCEX m_pdfDcEx;
161 PDFDCEX(const PDFDCEX&);
162 PDFDCEX& operator= (const PDFDCEX&);
163// @endcond
164};
165
166#include <Impl/PDFDCEX.inl>
167
168 }; // namespace PDF
169}; // namespace pdftron
170
171#endif // PDFTRON_H_CPPPDFPDFDCEX
172
173#endif // defined(_WIN32)
Obj.h
PDFDoc.h
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10
pdftron::UInt32
TRN_UInt32 UInt32
Definition BasicTypes.h:13