pdf to image convert in c# : Decrypt pdf file SDK software service wpf .net html dnn Nitro_Pro_8_User_Guide_EN12-part1325

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
Decrypt pdf file - C# PDF Digital Signature Library: add, remove, update PDF digital signatures in C#.net, ASP.NET, MVC, WPF
Help to Improve the Security of Your PDF File by Adding Digital Signatures
creating secure pdf files; pdf password encryption
Decrypt pdf file - VB.NET PDF Digital Signature Library: add, remove, update PDF digital signatures in vb.net, ASP.NET, MVC, WPF
Guide VB.NET Programmers to Improve the Security of Your PDF File by Adding Digital Signatures
change security settings pdf; secure pdf remove
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
C# PDF Password Library: add, remove, edit PDF file password in C#
to perform PDF file password adding, deleting and changing in Visual Studio .NET project use C# source code in .NET class. Allow to decrypt PDF password and
create secure pdf online; decrypt pdf password
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
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
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