 | Doc_print_callback Delegate |
Prints all or a specific number of pages of the document.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic delegate void Doc_print_callback(
IPDF_JSPLATFORM pThis,
bool bUI,
int nStart,
int nEnd,
bool bSilent,
bool bShrinkToFit,
bool bPrintAsImage,
bool bReverse,
bool bAnnotations
)
Public Delegate Sub Doc_print_callback (
pThis As IPDF_JSPLATFORM,
bUI As Boolean,
nStart As Integer,
nEnd As Integer,
bSilent As Boolean,
bShrinkToFit As Boolean,
bPrintAsImage As Boolean,
bReverse As Boolean,
bAnnotations As Boolean
)
public delegate void Doc_print_callback(
IPDF_JSPLATFORM^ pThis,
bool bUI,
int nStart,
int nEnd,
bool bSilent,
bool bShrinkToFit,
bool bPrintAsImage,
bool bReverse,
bool bAnnotations
)
type Doc_print_callback =
delegate of
pThis : IPDF_JSPLATFORM *
bUI : bool *
nStart : int *
nEnd : int *
bSilent : bool *
bShrinkToFit : bool *
bPrintAsImage : bool *
bReverse : bool *
bAnnotations : bool -> unit
/** @delegate */
public delegate void Doc_print_callback(
IPDF_JSPLATFORM pThis,
boolean bUI,
int nStart,
int nEnd,
boolean bSilent,
boolean bShrinkToFit,
boolean bPrintAsImage,
boolean bReverse,
boolean bAnnotations
)
function(pThis, bUI, nStart, nEnd, bSilent, bShrinkToFit, bPrintAsImage, bReverse, bAnnotations);
Parameters
- pThis IPDF_JSPLATFORM
- Pointer to the interface structure itself.
- bUI Boolean
- If true, will cause a UI to be presented to the user to obtain printing information and confirm the action.
- nStart Int32
- A 0-based index that defines the start of an inclusive range of pages.
- nEnd Int32
- A 0-based index that defines the end of an inclusive page range.
- bSilent Boolean
- If true, suppresses the cancel dialog box while the document is printing. The default is false.
- bShrinkToFit Boolean
- If true, the page is shrunk (if necessary) to fit within the imageable area of the printed page.
- bPrintAsImage Boolean
- If true, print pages as an image.
- bReverse Boolean
- If true, print from nEnd to nStart.
- bAnnotations Boolean
- If true (the default), annotations are printed.
RemarksRequired: Yes.
See Also