#include “BlackIceDEVMODE.h”
BOOL GetPdfOpenFitToWindow (BlackIceDEVMODE* pDevMode, BOOL* pEnable);
Description
This value specifies that the viewer application should resize the document’s window to fit the size of the first displayed page or not when the output PDF document is opened.
Parameters
BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure.
BOOL* pEnable - pointer to the variable, that contains the state of the Fit to window option:
FALSE: The viewer application doesn’t resize the document’s window to fit the size of the first displayed page when the output PDF document is opened.
TRUE: The viewer application resizes the document’s window to fit the size of the first displayed pagewhen the output PDF document is opened.
Return value
TRUE on success, otherwise FALSE.
Programming Notes
None
Code Example
None