Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.GetInPrintSettings
Retrieves the print settings of the current open import file.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.GetInPrintSettings"; PDF; Selector ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Selector | Which value to retrieve. Can be NumCopies, PickTrayByPDFSize, PrintRangesCount, PrintScaling, DuplexMode and PrintRanges. | "NumCopies" |
Result
Returns value or error.
Description
Retrieves the print settings of the current open import file.The PDF file must be opened with DynaPDF.OpenPDFFromContainer or DynaPDF.OpenPDFFromFile before the function can be used. The print settings are used to initialize the print dialog in a viewer application.
NumCopies, PickTrayByPDFSize and PrintRangesCount return a number (-1 if undefined). PrintRanges returns a list of values for the ranges. DuplexMode returns values like FlipShortEdge, FlipLongEdge, Simplex or None. PrintScaling returns None or AppDefault.
See also DynaPDF.GetPrintSettings and DynaPDF.SetPrintSettings.
See also GetInPrintSettings function in DynaPDF manual.
See also
- DynaPDF.GetPrintSettings
- DynaPDF.New
- DynaPDF.OpenPDFFromContainer
- DynaPDF.OpenPDFFromFile
- DynaPDF.SetPrintSettings
This function checks for a license.
Created 14th March 2015, last changed 24th June 2024
