PdfDocument
CreateBooklet Method (String, Single, Single, Boolean, DrawPageInBookletEventHandler, DrawPageInBookletEventHandler)
|
Thie method creates a booklet
Namespace:
Spire.Pdf
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void CreateBooklet(
string fileName,
float width,
float height,
bool bothSides,
DrawPageInBookletEventHandler beginDrawPage,
DrawPageInBookletEventHandler endDrawPage
)
Public Sub CreateBooklet (
fileName As String,
width As Single,
height As Single,
bothSides As Boolean,
beginDrawPage As DrawPageInBookletEventHandler,
endDrawPage As DrawPageInBookletEventHandler
)
public:
void CreateBooklet(
String^ fileName,
float width,
float height,
bool bothSides,
DrawPageInBookletEventHandler^ beginDrawPage,
DrawPageInBookletEventHandler^ endDrawPage
)
member CreateBooklet :
fileName : string *
width : float32 *
height : float32 *
bothSides : bool *
beginDrawPage : DrawPageInBookletEventHandler *
endDrawPage : DrawPageInBookletEventHandler -> unit
Parameters
-
fileName
-
Type:
System
String
The loaded document filename.
-
width
-
Type:
System
Single
The page width
-
height
-
Type:
System
Single
The page height
-
bothSides
-
Type:
System
Boolean
if set to
true
if the result in document should be printed
-
beginDrawPage
-
Type:
Spire.Pdf
DrawPageInBookletEventHandler
Delegate for handling event when the begin drawing page in a booklet.
-
endDrawPage
-
Type:
Spire.Pdf
DrawPageInBookletEventHandler
Delegate for handling event when the end drawing page in a booklet.
See Also