126
©Nitro
Eventobject
RepresentsaPDFformfield,andthisobjectcontainsmethodsandpropertiesthatprovideawayto
modifyformfields(likeyouwouldvisuallywiththeformfieldtools)viaJavaScriptcode.
Example:Changesahiddenfieldtobevisible.
var oField = this.getField("hiddenFieldName");
oField.display = display.visible;
Properties
change
changeEx
commitKey
fieldFull
keyDown
modifier
name
rc
selEnd
selStart
shift
source
target
targetName
type
value
willCommit
NitroPro8-UserGuide
Pdf print error no pages selected - Split, seperate PDF into multiple files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Explain How to Split PDF Document in Visual C#.NET Application
break pdf file into parts; break a pdf file into parts
Pdf print error no pages selected - VB.NET PDF File Split Library: Split, seperate PDF into multiple files in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET PDF Document Splitter Control to Disassemble PDF Document
break a pdf into smaller files; break a pdf file
127
©Nitro
Fieldobject
RepresentsaPDFformfield,andthisobjectcontainsmethodsandpropertiesthatprovideawayto
modifyformfields(likeyouwouldvisuallywiththeformfieldtools)viaJavaScriptcode.
Example:Changesahiddenfieldtobevisible.
var oField = this.getField("hiddenFieldName");
oField.display = display.visible;
Properties
alignment
borderStyle
buttonAlignX
buttonAlignY
buttonFitBounds
buttonPosition
buttonScaleHow
buttonScaleWhen
calcOrderIndex
charLimit
comb
commitOnSelChange
currentValueIndices
defaultStyle
defaultValue
doNotScroll
doNotSpellCheck
display
doc
editable
NitroPro8-UserGuide
C# HTML5 PDF Viewer SDK deployment on IIS in .NET
to the place where you store XDoc.PDF.HTML5 Viewer configure IIS to run and 500.19 error occurs, then 2. The site configured in IIS has no sufficient authority
break a pdf apart; break pdf
VB.NET PDF - VB.NET HTML5 PDF Viewer Deployment on IIS
to the place where you store XDoc.PDF.HTML5 Viewer configure IIS to run and 500.19 error occurs, then 2. The site configured in IIS has no sufficient authority
break apart a pdf in reader; can't select text in pdf file
128
©Nitro
Properties
exportValues
hidden
fileSelect
fillColor
lineWidth
highlight
multiline
multipleSelection
name
numItems
page
password
print
radiosInUnison
readonly
rect
required
richText
richValue
rotation
strokeColor
style
submitName
textColor
textFont
textSize
type
NitroPro8-UserGuide
129
©Nitro
Properties
userName
value
valueAsString
Methods
browseForFileToSubmit
buttonGetCaption
buttonGetIcon
buttonImportIcon
buttonSetCaption
buttonSetIcon
checkThisBox
clearItems
defaultIsChecked
getArray
getItemAt
getLock
insertItemAt
isBoxChecked
isDefaultChecked
setAction
setFocus
setItems
setLock
NitroPro8-UserGuide
130
©Nitro
Globalobject
AllowsyoutosharedataacrossaninstanceofthePDF viewingapplication(i.e.datacanbeaccessedfrom
withinanyoftheopendocuments).
Example:Onceauserhasenteredtheiremailonce,storeitinaglobalvariableandauto-fillemailfieldsin
theotheropendocuments.
global.userEmail = this.getField("email").value;
Note: ThesetPersistentandsubscribemethodsarenotcurrentlysupportedinNitroPro8
NitroPro8-UserGuide
131
©Nitro
Identityobject
ThisobjectholdsinformationaboutthecurrentuserwhoisloggedontothemachineusingNitroPro8.
YoucanviewthisinformationinPreferencesaswell.
Example:ThisJavaScriptgetstheloginnameoftheuserandstoresitinaglobalvariable(calledlogin)
thatcanbeusedbyanyotherJavaScript.Becausetheidentityobjectisonlypermittedduringtheconsole,
menu,applicationinitializationandbatchevents,thiswouldbeidealtobeinafolderlevelJavaScriptfile
(.js)thatwasexecutedwhentheapplicationstarts.
global.login = identity.loginName;
Properties
corporation
email
loginName
name
NitroPro8-UserGuide
132
©Nitro
Linkobject
ThisobjectallowsyoutogetandsetthepropertiesofaPDFlink,aswellassetaRunaJavaScriptaction.
Properties&Methods
ThelinkobjectsupportsallpropertiesandmethodsincludedintheAcrobatJavaScriptspecification.
NitroPro8-UserGuide
133
©Nitro
Thisobject
UsedforinterfacingwithactivedocumentsviaJavaScriptcode.
Example:RetrievesfullpathofthePDFfileandstoresitinthevariablesPath.
var sPath = this.path;
Properties
dirty
disclosed
documentFileName
filesize
info
layout
numFields
numPages
path
pageNum
URL
zoom
zoomType
Methods
addIcon
addField
addLink
closeDoc
deletePages
extractPages
exportAsFDF
NitroPro8-UserGuide
134
©Nitro
Methods
flattenPages
getField
getIcon
getNthFieldName
getPageBox
getPageNthWord
getPageNumWords
importAnFdf
importIcon
insertPages
mailDoc
mailForm
print
removeIcon
removeField
resetForm
saveAs
selectPageNthWord
submitForm
NitroPro8-UserGuide
135
©Nitro
Utilobject
Containsanumberofhelper/conveniencemethodsforstringanddateformattingandparsing.
Methods
printf
printd
printx
scand
NitroPro8-UserGuide
Documents you may be interested
Documents you may be interested