LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pageinfo.h
Go to the documentation of this file.
1 // Copyright 2015 Trimble Navigation Ltd. All rights reserved.
2 // This file is intended for public distribution.
3 
4 #ifndef LAYOUT_MODEL_PAGEINFO_H_
5 #define LAYOUT_MODEL_PAGEINFO_H_
6 
7 #include <LayOutAPI/common.h>
8 #include <LayOutAPI/model/defs.h>
9 #include <SketchUpAPI/color.h>
10 
21 typedef enum {
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif // __cplusplus
31 
41 LO_RESULT LOPageInfoGetWidth(LOPageInfoRef pageinfo, double* width);
42 
52 LO_RESULT LOPageInfoSetWidth(LOPageInfoRef pageinfo, double width);
53 
63 LO_RESULT LOPageInfoGetHeight(LOPageInfoRef pageinfo, double* height);
64 
74 LO_RESULT LOPageInfoSetHeight(LOPageInfoRef pageinfo, double height);
75 
86  double* margin);
87 
98  double* margin);
99 
109 LO_RESULT LOPageInfoGetTopMargin(LOPageInfoRef pageinfo, double* margin);
110 
120 LO_RESULT LOPageInfoGetBottomMargin(LOPageInfoRef pageinfo, double* margin);
121 
132 LO_RESULT LOPageInfoSetLeftMargin(LOPageInfoRef pageinfo, double margin);
133 
144 LO_RESULT LOPageInfoSetRightMargin(LOPageInfoRef pageinfo, double margin);
145 
156 LO_RESULT LOPageInfoSetTopMargin(LOPageInfoRef pageinfo, double margin);
157 
168 LO_RESULT LOPageInfoSetBottomMargin(LOPageInfoRef pageinfo, double margin);
169 
180  SUColor* color);
181 
192 
203  bool* print_paper_color);
204 
214  bool print_paper_color);
215 
226  SUColor* color);
227 
237 
248  bool* show_margins);
249 
259  bool show_margins);
260 
271  bool* print_margins);
272 
282  bool print_margins);
283 
295  LOImageResolution* resolution);
296 
308  LOImageResolution resolution);
309 
321  LOImageResolution* resolution);
322 
334  LOImageResolution resolution);
335 
336 #ifdef __cplusplus
337 }
338 #endif // __cplusplus
339 
340 #endif // LAYOUT_MODEL_PAGEINFO_H_