Pdftools SDK
Loading...
Searching...
No Matches
PdfTools_PdfToolsGeomUnits.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * File: PdfTools_PdfToolsGeomUnits.h
4 *
5 * Description: Sub Header file for Pdftools SDK
6 *
7 * Author: PDF Tools AG
8 *
9 * Copyright: Copyright (C) 2023 - 2024 PDF Tools AG, Switzerland
10 * All rights reserved.
11 *
12 * Notice: By downloading and using this artifact, you accept PDF Tools AG's
13 * [license agreement](https://www.pdf-tools.com/license-agreement/),
14 * [privacy policy](https://www.pdf-tools.com/privacy-policy/),
15 * and allow PDF Tools AG to track your usage data.
16 *
17 *****************************************************************************/
18
19#ifndef PDFTOOLS_PDFTOOLSGEOMUNITS_H__
20#define PDFTOOLS_PDFTOOLSGEOMUNITS_H__
21
22#ifndef PDFTOOLS_CALL
23#if defined(WIN32)
24#define PDFTOOLS_CALL __stdcall
25#else
26#define PDFTOOLS_CALL
27#endif
28#endif
29
30#include "PdfTools_Types.h"
32
33#ifdef __cplusplus
34extern "C"
35{
36#endif
37
38#ifdef _UNICODE
39#else
40#endif
41
82
83#ifdef __cplusplus
84}
85#endif
86
87#endif /* PDFTOOLS_PDFTOOLSGEOMUNITS_H__ */
PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_CreateFrom_mm(double dMillimetres)
Convert millimetre to point.
PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_CreateFrom_inch(double dInches)
Convert inch to point.
PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_ConvertTo_inch(double dLength)
Convert point to inch.
PDFTOOLS_EXPORT double PDFTOOLS_CALL PdfToolsGeomUnits_Length_ConvertTo_mm(double dLength)
Convert point to millimetre.
#define PDFTOOLS_CALL
Definition PdfTools_PdfToolsGeomUnits.h:26
#define PDFTOOLS_EXPORT
Definition PdfTools_Platform.h:143