asp.net mvc pdf viewer free : Adjust size of pdf in preview application control tool html web page winforms online Nitro_Pro_8_User_Guide_EN12-part1947

106
©Nitro
Alignformfieldstoagrid
WithNitroPro8,youcanusegridstoassistyouinpreciselylininguplinks,formfields,andotherobjects
onapage.Whenturnedon,thegridisvisibleoveryourPDFpages;however,gridlineswillnotbeprinted
whenyouprintyourdocument.Youcanalsocustomizethegrid'sdisplay,settingpreferencessuchas
defaultunits,linecolor,spacing,andotheroptions.
TheSnapToGridoptionalignsanobjectwiththenearestintersectionoflinesinthegrid.Whenyou
draw,resize,ormoveanobject,itwill"snapto"thenearestintersectionoflines,evenifthegridisnot
visible.
Tip:Ifyourshapeorobjectdoesnotmovewhereyouwant,turnofftheSnapToGridoption.
Tovieworhidethegrid:
1. OntheFormsribbontab,intheGuidesgroup,clicktoselectorcleartheShowGridcheckbox.A
checkmarkappearswhenthegridisvisible.
ToturntheSnapToGridoptiononoroff:
1. OntheFormsribbontab,intheGuidesgroup,clicktoselectorcleartheSnaptoGridcheckbox.A
checkmarkappearswhentheoptionisturnedon.
Tocustomizegridpreferences:
1. IntheFilemenu,clickPreferences
2. Fromtheleftpane,chooseUnitsandGrid
3. Choosefromavailableoptions,andthenclickOK
UnitandGridPreferences
Thefollowingoptionsareavailablewhensettingunitandgridpreferences:
l
DefaultUnits.Setsthemeasurementunitstobeusedincreatingthegrid
l
Gridlinecolor.Setsthecolorofthedisplayedgridlines
l
Heightbetweenlines.Specifiestheverticalspacingbetweengridlines.Youcanspecifyavalue
between0and1000;decimalvaluesareaccepted
l
Widthbetweenlines.Specifiesthehorizontalspacingbetweengridlines.Youcanspecifyavalue
between0and1000;decimalvaluesareaccepted
l
Gridoffsetfromleftedge.Bydefault,thegridbeginsatthetop-leftcornerofthepage.Usethis
settingtochangethehorizontalstartingpointforthegrid
l
Gridoffsetfromtopedge.Bydefault,thegridbeginsatthetop-leftcornerofthepage.Usethis
settingtochangetheverticalstartingpointforthegrid
l
Subdivisions.Setsthenumberofgridlinesusedinsubdividingeachgridsection
NitroPro8-UserGuide
Adjust size of pdf in preview - Compress reduce PDF size in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
C# Code & .NET API to Compress & Decompress PDF Document
pdf text box font size; change file size of pdf document
Adjust size of pdf in preview - 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
change font size pdf text box; pdf page size limit
107
©Nitro
Reuseformfieldappearancesettings
NitroPro8includesauniquetoolthatallowsyoutosavetheappearancepropertiesusedonaformfield
(suchascolors,borderandlinestyle)andreusethesepropertieswhencreatingfutureformfields.Allof
the'appearances'youcreatewillappearinthePropertiestab.
Howtocreateaformfieldappearance:
1. Createaformfieldusingtheappearancesettingsyouwouldliketosave,andthenselectit
2. OnthePropertiestab,intheAppearancegroup,clickthedownarrow
3. ClickSaveSelectionasNewAppearance
4. Nametheappearance
5. ClickOK
Howtoapplyaformfieldappearance:
1. Selecttheformfield(s)toapplytheappearanceto
2. OnthePropertiescontexttab,intheAppearancegroup,clicktheappearancetouse
NitroPro8-UserGuide
VB Imaging - VB Codabar Generator
image, New PointF(100F, 100F)) docx.Save("C:\\Sample_Barcode.pdf"). VB Code to Adjust Codabar Parameters. set barcode data // Codabar barcode size related barcode
change font size in pdf form; best pdf compressor online
VB.NET Image: Web Image and Document Viewer Creation & Design
configure the VB.NET image viewer or adjust its properties with mouse click and reset the size of the a powerful toolkit to print bitonal images, PDF, and so on
change font size in pdf text box; pdf reduce file size
108
©Nitro
Importandexportformdata
YouuseNitroPro8toexportformdataasaseparateFDFfile(formdataformat).AnexportedFDFfileis
muchsmallerthantheoriginalPDFformfile,makingitmuchmoreconvenientfordistributingtoothers.
YoucanemailanFDFfiletoanotheruserwhocanthenimportthedataintoaPDFfile,oryoucanuseFDF
filestosaveformdatalocally,aswellastoimportdataintoyourforms.
WhenyouimportdataintoaPDFform,theformmustcontainfieldshavingtheexactsamenamesasthe
fieldsfromwhichthedatawasexported.Fieldnamesarecase-sensitive.NitroPro8ignoresallimported
fielddatawherethefieldnamesdonotmatchthenamesfromtheexportedfile.
ToexportdatafromaPDFdocument:
1. OpenthePDFinNitroPro8
2. OntheFormsribbontab,intheFormDatagroup,clickExport
3. Typeanameforthefile
4. ClickSave
ToimportdataintoaPDFdocument:
1. OpenthePDFinNitroPro8
2. OntheFormsribbontab,intheFormDatagroup,clickImport
3. Selectthefiletoimport
4. ClickOpen
NitroPro8-UserGuide
C# Image: View & Operate Web Page Using .NET Doc Image Web Viewer
multiple document and image formats, like PDF and TIFF; Adjust the page order of source document file using mouse NET users to choose best viewing size as they
compress pdf; reader pdf reduce file size
Generate and draw Data Matrix for Java
all 2D barcodes like QR Code, Data Matrix and PDF 417 in text in Java Class barcode.setData("Java Data Matrix"); //Adjust Data Matrix size with barcode
change font size fillable pdf; change font size in pdf
109
©Nitro
Resetformdata
OneofthemosthelpfulbuttonsyoucancreateonyourPDFformsisonethatpermitstheusertoclear
populatedfields,alsoreferredtoasaResetbutton.Ifyouareworkingwithaformthatdoesn'tcontaina
Resetbutton,NitroPro8includesaResettoolthatallowsyoutoquicklycleardatafromallofthefieldsin
theform.
Toresetformdata:
1. OpentheforminNitroPro8
2. OntheFormsribbontab,intheFormDatagroup,clickReset
Tocreatearesetbutton:
1. OpenthePDFinNitroPro8
2. OntheFormsribbontab,clickPushButton
3. Onthepage,dragthepointerwhereyouwantthebuttontoappear
4. NamethefieldresetFormandsetGeneralandAppearanceproperties
5. SelectLayoutintheOptionspropertiesandselectLabelonly.ClicktheLabelfieldandenterReset
Form
6. ClickSelectActionandselectResetaformfromthedropdownmenu
7. ClickAddActiontoList...anddooneofthefollowing:
l
ClickDeselectAll.PressControlandclickeachfieldyouwanttoclear,ifthenumberoffields
tocleararefewerthanthetotalnumberoffieldsinthelist
l
ClickSelectAll.PressControlandclickeachfieldyouwanttoeliminatefromclearingdata,if
thenumberoffieldstocleararegreaterthanthetotalnumberoffieldsyoudon’twantto
clear
8. ClickOK
NitroPro8-UserGuide
Tutorial Guide for Java Barcode Generation Component in details
Package for the purpose type with linear, QR Code, PDF 417 or image text in Java Class barcode.setData("BARCODE-JAVA"); //Adjust Code 39 size with barcode
adjust size of pdf in preview; pdf compressor
VB.NET Word: Create VB.NET Word Document Viewer in Web, Windows
Professional VB.NET Word document viewing component with quick thumbnail preview support; If needed, you can try VB.NET PDF document file viewer SDK, and VB.NET
pdf paper size; batch reduce pdf file size
110
©Nitro
Submitformdata
CreatingaSubmitbuttonwithinaPDFformallowsuserstoautomaticallysubmittheirentereddatatoa
specifiedURLoremailaddress.YoucaneasilycreateaSubmitbuttononyourformstohelpusersin
submittingformdata.IfyouchoosetosubmitdatatoaURL,youshouldbeawarethatyouwillneedto
setupserver-sideprogramminginordertocollectandroutetheformdata.Ifyouchoosetosubmitdata
toanemailaddress,theemailbodywillcontaintheformdata,andyouhaveseveraloptionsforspecifying
whichdataisincludedorexcluded.
Tocreateasubmitbutton:
1. OpenthePDFinNitroPro8
2. OntheFormsribbontab,clickPushButton
3. Onthepage,dragthepointerwhereyouwantthebuttontoappear
4. NamethefieldsubmitForm,andthensetGeneralandAppearanceproperties
5. SelectLayoutintheOptionspropertiesandselectLabelonly.ClicktheLabelfieldandenterSub-
mitForm
6. IntheActionstab,clickSelectActionandselectSubmitaformfromthedropdownmenu
7. ClickAddActiontoList...andthenchoosethesubmissionmethodintheSubmitformtogroup
8. Selectthefields.ClickSubmitallfieldsorSubmitonlythesefields,andclickSelect...toselectthe
fieldsyouwanttosubmit.ChecktheboxesforIncludeemptyvaluesand/orConvertdatevalues
tostandardformatifdesired
9. ClickOK
NitroPro8-UserGuide
111
©Nitro
Showorhidefields
TheremaybecaseswhenyouwishtoshoworhidecertainfieldsinyourPDFform;forexample,iftheuser
clicksabutton,anewgroupoffieldsisdisplayed.Youhaveseveraloptionstoselectfromwhenshowing
orhidingfields:youcanelecttoshoworhideanindividualfieldbysettingthefield'sGeneralproperties,
oryoucanwriteyourowncustomJavaScripttoshowandhidefieldsbasedonuseraction(forexample,if
auserhoversoverabuttonoranother).Asanotheroption,youcancreateabuttonthatwillshowor
hidespecificfieldswhenpressed.
Toshow/hidefields:
1. OpenthePDFinNitroPro8
2. OntheFormsribbontab,clickPushButton
3. Onthepage,dragthepointerwhereyouwantthebuttontoappear
4. NamethefieldandthensetGeneralandAppearanceproperties
5. IntheOptionstab,selectLayoutandselectLabelonly.ClicktheLabelfieldandenterShow/Hide
Fields
6. IntheActionstab,clickSelectActionandselectShow/HideFieldsfromthedropdownmenu
7. ClickAddActiontoList...andthendooneofthefollowing:
l
ClickShow
l
ClickHide
8. ClickOK
NitroPro8-UserGuide
112
©Nitro
Calculatefielddata
NitroPro8supportsfieldcalculationsusingseveralmethods.Thebuilt-incalculationformulasareaneasy
meansforcreatingsimple,andquiterestricted,fieldcalculations.YoucanalsouseSimplifiedField
NotationandJavaScripts,althoughthesemethodsaremuchmoresophisticatedandrequiresome
programmingknowledge.Ifyourcalculationneedsarelimitedtosummingoraveragingdata,youcanuse
thebuilt-informulaswithouthavingtoworryaboutprogramming.
Calculationsinvolve,inonewayoranother,theuseoftextfields.Youcanperformacalculationusingany
fieldtype,butifyouwanttheresultsofyourcalculationsreportedonaform,youneedtohaveatextfield
thateithercalculatesthedataandplacestheresultinthefieldperformingthecalculation,orcalculates
datainanotherfieldtypeandsendsthedatatoatextfield.
Tocreateacalculation:
1. OpenthePDFinNitroPro8
2. OntheFormsribbontab,clickTextField
3. Onthepage,dragthepointerwhereyouwantthetextfieldtoappear
4. NamethefieldandsetGeneralandAppearanceproperties
5. SelectOptionsandclickAlignment.SelectRightfromthepull-downmenutoalignthevalues
right
6. OpentheFormatproperties,clickSelectformatcategory,andthenselectNumberfromthedrop
downmenu
7. ClickDecimalplacesandtypethenumberofdecimalplacesyouwanttoreportinthecalculated
field
8. OpentheCalculateproperties,andselectValuetypeanddooneofthefollowing:
l
ClickSum(+)tosumagroupofdata
l
ClickProduct(x)tomultiplyvalues
l
Clickaveragetoaverageagroupoffieldvalues
l
Clickminimumtoreporttheminimumvalueamongagroupoffields
l
Clickmaximumtoreportthemaximumvalueamongagroupoffields
9. ClicktheSelect...buttontoopentheFieldSelectiondialogbox.HolddowntheControlorShift
keyandclickeachfieldyouwanttocalculate
10. ClickOK
NitroPro8-UserGuide
113
©Nitro
JavaScript
ToprovideacompletedescriptionofhowyoucanuseJavaScriptwithNitroPro8iswellbeyondthescope
ofthisusermanual.IfyouwishtogainprogrammingknowledgeinJavaScript,werecommendyoureview
sourcesyoucanfindontheInternet,aswellasinbooksonJavaScriptthatcanbeobtainedfromyour
locallibraryorbookseller.
YoucanalsofindmanyexamplesofPDFdocumentscontainingJavaScriptontheInternet.Themost
commonuseofJavaScriptwithPDFistobefoundinPDFforms.Youcanlocatethesetypesofdocuments
ontheInternet,thenopentheJavaScriptintheJavaScriptConsole,andcopy/pastetheroutinesinyour
ownfiles.Byexamination,andtrialanderror,youcanquicklylearntheprogrammingcodenecessaryfor
thetasksyouwishtoperform.
NitroPro8-UserGuide
114
©Nitro
LocateJavaScripts
Whetheryouwritescriptsinyourowndocuments,orbrowsefilesforscriptstoexamine,youfirstneedto
knowwheretolookforJavaScripts.InNitroPro8youcanfindJavaScriptsinthefollowinglocations:
Fieldscripts
JavaScriptscanbeusedwithallfieldtypes.InallfieldsyoucanaddscriptsintheSetActionsproperties.In
signaturefieldsyoucanaddJavaScriptsinboththeSetActionpropertiesandintheSignedproperties.By
farthemostopportunityyouhaveforaddingscriptsinfieldpropertiesiswithtextfields.Intextfieldsyou
canaddscriptsto:
l
Formatproperties.OpentheFormatpropertiesandselectCustomfromtheSelectformatcat-
egorydropdownmenu.JavaScriptsareaddedtocreateaCustomFormatScriptandCustomKey-
strokeScript.
l
Validate.OpentheValidatepropertiesandselectUsecustomvalidationscripttoaddaJava-
Scripttovalidatefielddata.
l
Calculate.TheCalculatepropertiesarelikelytobethemostfrequentareawhereJavaScriptsare
created.Youcanwritescriptsintwoareas.ClicktheSimplifiedfieldnotationbuttonandyoucan
writescriptsusingsyntaxsimilartospreadsheetformulas.ClicktheCustomcalculationscriptand
youcanwriteJavaScriptstocalculatefielddata.
l
AddAction.Liketheotherfields,textfieldssupporttheRunJavaScriptactiontype.
JavaScriptconsole
YoucanopentheJavaScriptConsoleandwriteascriptthatdoesn’tbelongtoanyfieldorelement.Scripts
writtenintheJavaScriptConsolecanbeusedtotestroutinesanddebugcode.
DocumentActions
Opening,savingandprintingPDFsarealldocumentactions.JavaScriptscanbewrittenwhenthese
actionsoccur.ToaddaDocumentAction,gototheFormsribbontab,intheJavaScriptgroup,click
DocumentActions.
DocumentlevelJavaScripts
AdocumentlevelJavaScriptcanbeafunctionthatotherscriptscallinsubroutines.Thesescriptsare
containedatthedocumentlevelandcanbeexecutedbyanotherscriptorwhenopeningafile.
FolderlevelJavaScripts
AfolderlevelJavaScriptislocatedoutsideofthePDFfile(ina.jsfile)andcanbeusedbymorethanone
PDF.WhenNitroPro8isopenedthescriptsarerun.
NitroPro8-UserGuide
115
©Nitro
CopyandpasteJavaScripts
JavaScriptscanbecopiedandpastedfromonefieldorotherlocationinaPDFdocumentorbetweentwo
documents.IfyouexaminePDFfilesforlearningJavaScriptprogramming,youcanbrowsePDFfiles
containingscripts,copyascriptfromadocumentyoudownloadfromtheInternet,andpastethecode
intotheJavaScriptEditorinyourdocument.Withalittlecodemodification,youcanquicklyaddscriptsto
yourownfiles.
TocopycodebetweenPDFfilesjustopenthembothinNitroPro8.
NitroPro8-UserGuide
Documents you may be interested
Documents you may be interested