public static bool FPDF_GetViewerPreferences(
IntPtr document,
out bool hideToolbar,
out bool hideMenubar,
out bool hideWindowUI,
out bool fitWindow,
out bool centerWindow,
out bool displayDocTitle,
out bool pickTrayByPDFSize,
out int numCopies,
out string nonFullScreenPageMode,
out string direction,
out string viewArea,
out string viewClip,
out string printArea,
out string printClip,
out string printScaling,
out string duplex,
out int[] printPageRange
)
Public Shared Function FPDF_GetViewerPreferences (
document As IntPtr,
<OutAttribute> ByRef hideToolbar As Boolean,
<OutAttribute> ByRef hideMenubar As Boolean,
<OutAttribute> ByRef hideWindowUI As Boolean,
<OutAttribute> ByRef fitWindow As Boolean,
<OutAttribute> ByRef centerWindow As Boolean,
<OutAttribute> ByRef displayDocTitle As Boolean,
<OutAttribute> ByRef pickTrayByPDFSize As Boolean,
<OutAttribute> ByRef numCopies As Integer,
<OutAttribute> ByRef nonFullScreenPageMode As String,
<OutAttribute> ByRef direction As String,
<OutAttribute> ByRef viewArea As String,
<OutAttribute> ByRef viewClip As String,
<OutAttribute> ByRef printArea As String,
<OutAttribute> ByRef printClip As String,
<OutAttribute> ByRef printScaling As String,
<OutAttribute> ByRef duplex As String,
<OutAttribute> ByRef printPageRange As Integer()
) As Boolean
public:
static bool FPDF_GetViewerPreferences(
IntPtr document,
[OutAttribute] bool% hideToolbar,
[OutAttribute] bool% hideMenubar,
[OutAttribute] bool% hideWindowUI,
[OutAttribute] bool% fitWindow,
[OutAttribute] bool% centerWindow,
[OutAttribute] bool% displayDocTitle,
[OutAttribute] bool% pickTrayByPDFSize,
[OutAttribute] int% numCopies,
[OutAttribute] String^% nonFullScreenPageMode,
[OutAttribute] String^% direction,
[OutAttribute] String^% viewArea,
[OutAttribute] String^% viewClip,
[OutAttribute] String^% printArea,
[OutAttribute] String^% printClip,
[OutAttribute] String^% printScaling,
[OutAttribute] String^% duplex,
[OutAttribute] array<int>^% printPageRange
)
static member FPDF_GetViewerPreferences :
document : IntPtr *
hideToolbar : bool byref *
hideMenubar : bool byref *
hideWindowUI : bool byref *
fitWindow : bool byref *
centerWindow : bool byref *
displayDocTitle : bool byref *
pickTrayByPDFSize : bool byref *
numCopies : int byref *
nonFullScreenPageMode : string byref *
direction : string byref *
viewArea : string byref *
viewClip : string byref *
printArea : string byref *
printClip : string byref *
printScaling : string byref *
duplex : string byref *
printPageRange : int[] byref -> bool public static boolean FPDF_GetViewerPreferences(
IntPtr document,
/** @attribute OutAttribute */ /** @ref */boolean hideToolbar,
/** @attribute OutAttribute */ /** @ref */boolean hideMenubar,
/** @attribute OutAttribute */ /** @ref */boolean hideWindowUI,
/** @attribute OutAttribute */ /** @ref */boolean fitWindow,
/** @attribute OutAttribute */ /** @ref */boolean centerWindow,
/** @attribute OutAttribute */ /** @ref */boolean displayDocTitle,
/** @attribute OutAttribute */ /** @ref */boolean pickTrayByPDFSize,
/** @attribute OutAttribute */ /** @ref */int numCopies,
/** @attribute OutAttribute */ /** @ref */String nonFullScreenPageMode,
/** @attribute OutAttribute */ /** @ref */String direction,
/** @attribute OutAttribute */ /** @ref */String viewArea,
/** @attribute OutAttribute */ /** @ref */String viewClip,
/** @attribute OutAttribute */ /** @ref */String printArea,
/** @attribute OutAttribute */ /** @ref */String printClip,
/** @attribute OutAttribute */ /** @ref */String printScaling,
/** @attribute OutAttribute */ /** @ref */String duplex,
/** @attribute OutAttribute */ /** @ref */int[] printPageRange
)
Patagames.Pdf.Pdfium.FPDF_GetViewerPreferences = function(document, hideToolbar, hideMenubar, hideWindowUI, fitWindow, centerWindow, displayDocTitle, pickTrayByPDFSize, numCopies, nonFullScreenPageMode, direction, viewArea, viewClip, printArea, printClip, printScaling, duplex, printPageRange);