DocumentOptions Constructor (String, String, PageSize, PageOrientation, CompressionLevel, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) |
Constructs a new instance of this object.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public DocumentOptions(
string authorName,
string documentTitle,
PageSize pageSize,
PageOrientation pageOrientation,
CompressionLevel compressionLevel,
int rightMargin,
int leftMargin,
int topMargin,
int bottomMargin,
bool showHeader,
bool showFooter,
bool rightToLeft,
bool embedFonts,
bool liveURLs,
bool fitToWidth
)
Public Sub New (
authorName As String,
documentTitle As String,
pageSize As PageSize,
pageOrientation As PageOrientation,
compressionLevel As CompressionLevel,
rightMargin As Integer,
leftMargin As Integer,
topMargin As Integer,
bottomMargin As Integer,
showHeader As Boolean,
showFooter As Boolean,
rightToLeft As Boolean,
embedFonts As Boolean,
liveURLs As Boolean,
fitToWidth As Boolean
)
Parameters
- authorName
- Type: SystemString
Author name - documentTitle
- Type: SystemString
Document title - pageSize
- Type: NetQuarryPageSize
Page size - pageOrientation
- Type: NetQuarryPageOrientation
Page orientation - compressionLevel
- Type: NetQuarryCompressionLevel
Document compression level - rightMargin
- Type: SystemInt32
Right margin size - leftMargin
- Type: SystemInt32
Left margin size - topMargin
- Type: SystemInt32
Top margin size - bottomMargin
- Type: SystemInt32
Bottom margin size - showHeader
- Type: SystemBoolean
Show header - showFooter
- Type: SystemBoolean
Show footer - rightToLeft
- Type: SystemBoolean
Write text right to left - embedFonts
- Type: SystemBoolean
Embed fonts - liveURLs
- Type: SystemBoolean
Allow live URLs - fitToWidth
- Type: SystemBoolean
Fit contents to document size
See Also