135
©Nitro
Colorobject
AnobjectthatcanbeusedwhensettingacolorinotherJavaScriptmethodsandproperties.
Example:Setsthetextcolorintheformfield“FirstName”tored.
this.getField("First Name").textColor = color.red;
Properties&Methods
ThecolorobjectsupportsallpropertiesandmethodsincludedintheAcrobatJavaScriptspecification.
NitroPro9-UserGuide
Pdf change page size - Compress reduce PDF size in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
C# Code & .NET API to Compress & Decompress PDF Document
best pdf compressor; pdf font size change
Pdf change page size - VB.NET PDF File Compress Library: Compress reduce PDF size in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET PDF Document Compression and Decompression Control SDK
compress pdf; pdf form change font size
136
©Nitro
Consoleobject
AllJavaScriptscriptsareexecutedastheresultofaparticulareventoccurring.Foreachoftheseevents,
JavaScriptwillcreateaneventobjectthatcanbeusedtogetandupdateinformationaboutthecurrent
stateoftheevent.
Example:ExecutingthisJavaScriptonthekeystrokeeventwillchangeanyinputfromtheuserto
uppercase.
event.change = event.change.toUpperCase();
Properties&Methods
TheconsoleobjectsupportsallpropertiesandmethodsincludedintheAcrobatJavaScriptspecification.
NitroPro9-UserGuide
VB.NET Image: How to Create Visual Basic .NET Windows Image Viewer
formats, including png, jpeg, gif, tiff, bmp, PDF, and Word can get a basic idea of the page layout from from that, you are entitled to change the orientation
change font size on pdf text box; advanced pdf compressor
C# PDF insert text Library: insert text into PDF content in C#.net
formatted text and plain text to PDF page using .NET NET PDF edit control allows modify existing scanned PDF text. Ability to change text font, color, size and
change font size pdf fillable form; pdf text box font size
137
©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
NitroPro9-UserGuide
C# PDF Convert: How to Convert Word, Excel, PowerPoint, Tiff
Support conversion to PDF from other documents, keeping original document page size. Support rendering image to a PDF document page, no change for image size.
change font size in pdf form; change font size in fillable pdf form
C# PDF Annotate Library: Draw, edit PDF annotation, markups in C#.
Able to edit and change PDF annotation properties such as font size or color. Perform Various annotations on PDF Page using C#.NET Demo Codes.
apple compress pdf; change file size of pdf
138
©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
NitroPro9-UserGuide
C# PDF Thumbnail Create SDK: Draw thumbnail images for PDF in C#.
public override Bitmap ConvertToImage(Size targetSize). Description: Convert the PDF page to bitmap with specified size. Parameters:
adjust size of pdf in preview; pdf markup text size
C# PDF File Split Library: Split, seperate PDF into multiple files
Divide PDF file into multiple files by outputting PDF file size. control, C# developers can easily and accurately disassemble multi-page PDF document into two
pdf page size; change font size in pdf form field
139
©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
NitroPro9-UserGuide
VB.NET PDF File Split Library: Split, seperate PDF into multiple
Separate source PDF document file by defined page range in VB.NET class application. Divide PDF file into multiple files by outputting PDF file size.
pdf compressor; can a pdf be compressed
Create Thumbnail Winforms | Online Tutorials
editor: Click "Add" to add new items in thumbnail; Click "Swap" to change two items Multi-page Tiff Processing; RasterEdge OCR Engine; PDF Reading; Encode &
.pdf printing in thumbnail size; change font size in fillable pdf
140
©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
NitroPro9-UserGuide
141
©Nitro
Globalobject
AllowsyoutosharedataacrossaninstanceofthePDFviewingapplication(i.e.datacanbeaccessedfrom
withinanyoftheopendocuments).
Example:Onceauserhasenteredtheiremailonce,storeitinaglobalvariableandauto-fillemailfieldsin
theotheropendocuments.
global.userEmail = this.getField("email").value;
Note:ThesetPersistentandsubscribemethodsarenotcurrentlysupportedinNitroPro9
NitroPro9-UserGuide
142
©Nitro
Identityobject
ThisobjectholdsinformationaboutthecurrentuserwhoisloggedontothemachineusingNitroPro9.
YoucanviewthisinformationinPreferencesaswell.
Example:ThisJavaScriptgetstheloginnameoftheuserandstoresitinaglobalvariable(calledlogin)
thatcanbeusedbyanyotherJavaScript.Becausetheidentityobjectisonlypermittedduringtheconsole,
menu,applicationinitializationandbatchevents,thiswouldbeidealtobeinafolderlevelJavaScriptfile
(.js)thatwasexecutedwhentheapplicationstarts.
global.login = identity.loginName;
Properties
corporation
email
loginName
name
NitroPro9-UserGuide
143
©Nitro
Linkobject
ThisobjectallowsyoutogetandsetthepropertiesofaPDFlink,aswellassetaRunaJavaScriptaction.
Properties&Methods
ThelinkobjectsupportsallpropertiesandmethodsincludedintheAcrobatJavaScriptspecification.
NitroPro9-UserGuide
144
©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
NitroPro9-UserGuide
Documents you may be interested
Documents you may be interested