#include <PrintToPdfOptions.h>
|
| static SDF::Obj | GetArray (SDF::Obj dict, const char *key) |
| static void | PutNumber (SDF::Obj dict, const char *key, double num) |
| static void | PutBool (SDF::Obj dict, const char *key, bool val) |
| static void | PutText (SDF::Obj dict, const char *key, const UString &text) |
| static void | PutRect (SDF::Obj dict, const char *key, const Rect &rect) |
| static void | PushBackNumber (SDF::Obj dict, const char *key, double num) |
| static void | PushBackBool (SDF::Obj dict, const char *key, bool val) |
| static void | PushBackText (SDF::Obj dict, const char *key, const UString &text) |
| static void | PushBackRect (SDF::Obj dict, const char *key, const Rect &rect) |
| static Rect | RectFromArray (SDF::Obj nums) |
| static void | InsertRectCollection (SDF::Obj dict, const char *key, const RectCollection &rects, int index) |
| static Rect | RectFromArray (void *) |
| static double | ColorPtToNumber (const ColorPt &cp) |
| static ColorPt | ColorPtFromNumber (double dnum) |
Definition at line 9 of file PrintToPdfOptions.h.
◆ PrintToPdfOptions()
| pdftron::PDF::PrintToPdfOptions::PrintToPdfOptions |
( |
| ) |
|
◆ ~PrintToPdfOptions()
| pdftron::PDF::PrintToPdfOptions::~PrintToPdfOptions |
( |
| ) |
|
◆ GetHorizontalPageMargin()
| double pdftron::PDF::PrintToPdfOptions::GetHorizontalPageMargin |
( |
| ) |
|
Gets the value HorizontalPageMargin from the options object The horizontal margins (left and right) in points. The default is a 1/4 of an inch or 18 points.
- Returns
- a double, the current value for HorizontalPageMargin.
◆ GetPageHeight()
| double pdftron::PDF::PrintToPdfOptions::GetPageHeight |
( |
| ) |
|
Gets the value PageHeight from the options object The page height to use in points. If not set (or set to 0), uses letter paper size.
- Returns
- a double, the current value for PageHeight.
◆ GetPageOrientation()
| UString pdftron::PDF::PrintToPdfOptions::GetPageOrientation |
( |
| ) |
|
Gets the value PageOrientation from the options object Page orientation, "portrait" or "landscape".
- Returns
- a UString, the current value for PageOrientation.
◆ GetPageWidth()
| double pdftron::PDF::PrintToPdfOptions::GetPageWidth |
( |
| ) |
|
Gets the value PageWidth from the options object The page width to use in points. If not set (or set to 0), uses letter paper size.
- Returns
- a double, the current value for PageWidth.
◆ GetVerticalPageMargin()
| double pdftron::PDF::PrintToPdfOptions::GetVerticalPageMargin |
( |
| ) |
|
Gets the value VerticalPageMargin from the options object The vertical margins (top and bottom) in points. The default is a 1/4 of an inch or 18 points.
- Returns
- a double, the current value for VerticalPageMargin.
◆ SetHorizontalPageMargin()
| PrintToPdfOptions & pdftron::PDF::PrintToPdfOptions::SetHorizontalPageMargin |
( |
double | value | ) |
|
Sets the value for HorizontalPageMargin in the options object The horizontal margins (left and right) in points. The default is a 1/4 of an inch or 18 points.
- Parameters
-
| value | the new value for HorizontalPageMargin |
- Returns
- this object, for call chaining
◆ SetPageHeight()
Sets the value for PageHeight in the options object The page height to use in points. If not set (or set to 0), uses letter paper size.
- Parameters
-
| value | the new value for PageHeight |
- Returns
- this object, for call chaining
◆ SetPageOrientation()
Sets the value for PageOrientation in the options object Page orientation, "portrait" or "landscape".
- Parameters
-
| value | the new value for PageOrientation |
- Returns
- this object, for call chaining
◆ SetPageWidth()
Sets the value for PageWidth in the options object The page width to use in points. If not set (or set to 0), uses letter paper size.
- Parameters
-
| value | the new value for PageWidth |
- Returns
- this object, for call chaining
◆ SetVerticalPageMargin()
| PrintToPdfOptions & pdftron::PDF::PrintToPdfOptions::SetVerticalPageMargin |
( |
double | value | ) |
|
Sets the value for VerticalPageMargin in the options object The vertical margins (top and bottom) in points. The default is a 1/4 of an inch or 18 points.
- Parameters
-
| value | the new value for VerticalPageMargin |
- Returns
- this object, for call chaining
The documentation for this class was generated from the following file: