SetPdfOpenFitToWindow

#include “BlackIceDEVMODE.h”

 

BOOL             SetPdfOpenFitToWindow (BlackIceDEVMODE* pDevMode, BOOL bEnable);

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 bEnable                                           - 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