how to show .pdf file in asp.net web application using c# : Convert a scanned pdf to searchable text SDK Library project wpf asp.net winforms UWP nitro-pro-10-user-guide-en21-part169

195
©Nitro
Create bookmarks automatically
TheAutoBuildBookmarksfeaturecantotallyautomatethecreationofbookmarksinyourPDFs,andwith
verylittleeffortgreatlyenhancetheusabilityofthePDFsyoupublish.Useittoauto-generatebookmarks
basedonthefontstyles(headings,chapters,etc.)andthelayoutusedinyourPDFs.Youcanalsouseitto
buildbookmarksbasedonthetextualandnumericalcontentofthePDFfilesbyusingthetextmasking
andwildcardsfeatures.
Tocreatebookmarksautomatically:
1. OntheEdittab,intheNavigationgroup,clickthearrowbelowBookmark
2. ClickAutoBuildBookmarks
3. IntheBuildBookmarksdialog,clickLevel1.ThiswillopenuptheSelectBookmarkAttributesdia-
log
4. Dooneorbothofthefollowing:
l
Withthemousepointerusethecursortoselectanexampleofthetext(suchasaheading)
onthepage
l
Enablethecheckboxesofthepropertiesthatyouwanttocreatethebookmarksfrom
5. ClickOK
6. Tomakemorethanonetierofbookmarks,clickLevel2(andsoon)andthenperformstepsthree
andfouragain
7. IntheBuildBookmarksdialog,clickBuild
Tip:WithNitroPro10youcangeneratebookmarksautomaticallyfromyourWorddocumentsbased
ontheheadingstylestheycontain.SeetheSee"MicrosoftOfficeadd-insettings"onpage51section
oftheuserguideformoreinformation.
Bookmarkselectionattributes
Severaltextpropertiescanbeconfiguredwhencreatingbookmarksautomatically.Combiningthevarious
propertieswillcreatebookmarksthatonlymatchtheuniquecharacteristicsofaspecifictextelement;for
instanceachapterheading.Ifnotextinthedocumentmatchestherequirementsofthedefined
properties,thennobookmarkswillbecreated.
l
FontName:Createsbookmarksfromtheselectedfont.ClickingRefreshwillupdatethefontmenu
listingtoincludeallthefontscontainedinthedocument.Embeddedfontsarenotincluded
l
FontSize:Createsbookmarksfromtextthatconformstothespecifiedfontsize
l
FontColor:Createsbookmarksfromtextthatmatchestheselectedtext'scolor.
l
LeftIndentation:Createsbookmarksfromtextwithitslineindentstartingatthespecifieddis-
tancefromtheleft-handsideofthepage.Anexampleoflineindentationisbulletheadings-select-
ingthesebulletheadingswiththeLeftIndentationandFontNamepropertiesenabledwould
producebookmarksfromthebulletheadings:FontName,FontSize,FontColor,LeftIndentation
andTextMask(iftheFontNamepropertywasn'tenabled,alltextwiththesameindentationasthe
bulletswouldbeturnedintoabookmark)
l
TextMask:CreatesbookmarksfromtextthatmatchesthecharactersenteredintotheTextMask
textbox.Textmaskingishandywhentherearenodefiningbookmarkproperties,orifyouneedto
selectivelyfilteroutcertaintextthatmayotherwisebecomeabookmark.Seethesectionontext
maskingformoreinformationonusingthesespecialcharacters.
NitroPro10-UserGuide
Convert a scanned pdf to searchable text - search text inside PDF file in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Learn how to search text in PDF document and obtain text content and location information
can't select text in pdf file; pdf searchable text
Convert a scanned pdf to searchable text - VB.NET PDF Text Search Library: search text inside PDF file in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Learn How to Search Text in PDF Document and Obtain Text Content and Location Information in VB.NET application
search multiple pdf files for text; cannot select text in pdf
196
©Nitro
l
Keywordlist:Thisfeatureallowsyoutoincludeandexcludeparticularbookmarksbasedonits
textlabel.Thekeywordlistfileissimplyatextfilewithalistofwords.Ifyouchoosetoincludewitha
keywordlist,thentheonlybookmarksgeneratedwillbeonesthatincludeanyofthekeywordsin
yourlist.Ifyouchoosetoexcludewithakeywordlist,thennobookmarkswillbecreatedthatcon-
tainanyofthewordsinyourkeywordslist
l
Ignorerepeatedheadings:Createsabookmarkforonlythefirstoccurrenceofarepeatedbook-
markname.
l
Multi-linedheadings:Createsbookmarksfromtextspanningmorethanoneline
l
Leadingnumbers:Thisfeatureallowsyoutoaddorremoveleadingnumberstobookmarks.For
example,ifyourheadingsandchaptersareprefixedwithanumberingsystem.Theseleadingnum-
berscanbeexcludedfromthebookmarklabelsthataregeneratedautomatically
l
Textmasking:Includesorexcludescontentasbookmarksbasedonthewildcardsyouspecify.
InsteadofsearchingaPDFfilefortheattributes(fontname,sizeandcolor)andlayout(indent-
ation)theTextMaskfeatureallowsyoutosearchthetextcontentofthefilestoincludeand
excludetextfrombeingmadeintoabookmark.Textmaskingisparticularlyusefulwhenthereare
fewdefiningbookmarkproperties-whenthePDFfilehasnotbeenstructuredwellorconsistently-
orwhenyouwanttofilteroutbookmarksbasedontheirtext-basedcontent
UsingTextMasks
.
The“.”matchesoneinstanceofanycharacter.
Example:Enteringtheexpressing"P.F"intotheTextMaskfieldwouldcreateabookmarkfromanyline
oftextthatcontained"PDF,PeF,PdF"etc.
^
The“^”onlycreatesabookmarkifthespecifiedtextappearsattheverystartoftheline.
Example:Enteringthetext"^abc"willonlycreateabookmarkifthelinestartedwith"abc".Ifalineof
textstartedwith"1.0abc"nobookmarkwouldbecreated
$
The“$”onlycreatesabookmarkifthespecifiedtextappearsattheveryendoftheline.Ifyouonlywantto
createbookmarksfromlinesthatonlycontaintheexacttextyouspecify,useboththe“^”and“$”
characters.
Example:Enteringthetext"abc$"willcreateabookmarkonlyfromtextwithlinesendingwith"abc".
Therefore"...xyzabc"wouldgenerateabookmarkfromthatline,but"abcxyz"wouldnot
[ ]
Anylinescontainingcharactersinsidethe“[ ]”willgenerateabookmark.Characterscanbespecified
literally,orasarangeofcharacters.
NitroPro10-UserGuide
C# PDF Convert to Text SDK: Convert PDF to txt files in C#.net
Text can be extracted from scanned PDF image with OCR component. solution for Visual C# developers to convert PDF document to editable & searchable text file
search a pdf file for text; pdf searchable text converter
VB.NET PDF Convert to Text SDK: Convert PDF to txt files in vb.net
batch converting PDF to editable & searchable text formats. Convert PDF document page to separate text file in Text extraction from scanned PDF image with OCR
pdf make text searchable; how to select text in pdf
197
©Nitro
Example:“[abc]”willcreatebookmarksfromanylinescontainingeithera,b,orc.Thisisopposedto
onlycreatingabookmarkfromtextcontainingabcif“abc”isentered.“[a-dA-D]”willcreatebookmarks
fromlinescontaininganyofthecharactersbetweena-d(thatis,a,b,candd),inbothlower-and
upper-case
[^]
Anytextcontainingcharactersinsidethe“[ ]”andafterthe“^”willnotbeturnedintobookmarks.This
featureisveryhandywhenappliedwithinconjunctionwithotherbookmarkselectionpropertiestostop
unwantedbookmarksfrombeingcreated.Pleasenotethatconverselythismeansthatanyothertextnot
inthe“[ ]”willbeconsideredaspotentialbookmarkmaterial.Thereforeyoushouldconsiderusing
anotherbookmarkselectioninconjunctionwiththisone.Ifyoureallywanttoexcludenumberslike1.0
youwouldneedtomodifyitto“[^0-9\.].The“\”isexplainedbelow,andisneededbecause“.”isa
consideredspecialcharacterintextmasking.
Example:Entering“[^0-9]”willstillcreatebookmarkscontainingnumbersifthetextlinecontainsany
othercharacter–1.0willbeturnedintoabookmarkbecauseitcontainsa“.”.
\
The“\”characterisusedwhenyouwishtoactuallymatchaspecialcharacter,suchas“.”Or“$”.These
specialcharactersareusedintheTextMaskfieldtoperformspecialtextmatching.
Example:Entering“\$”willsearchandcreateabookmarkfromtextonthedocumentcontaininga“$”,
ignoringthenormal“$”textmaskcommand
*
Usethe“*”charactertocreatebookmarksfrommorethanonesetofcharactersatthesametime.
Example:Entering“a*b”willcreatebookmarksfromanylineoftextcontainingeitheraand/orb
+
Usethe“+”charactertocreatebookmarksfromasetofcharactersarrayedinacertainorder.Bookmarks
canbecreatedfromthefirstcharacter(s)beforethe“+”,however,charactersafterthe“+”canonlybe
bookmarkedifthecharactersbeforethe“+”arealsopresent.
Example:Entering“a+b”willcreatebookmarksfromanylineoftextcontainingab,aab,aaab¸etc.Any
textlikeba,orcb,willbeignored
?
Likethe“+”character,the“?”charactercreatesbookmarksfromasetofcharactersarrayedinacertain
order,butinthiscase,bookmarkscanbecreatedfromcharactersbeforethe“?”onlyiftheproceeding
NitroPro10-UserGuide
VB.NET Image: Robust OCR Recognition SDK for VB.NET, .NET Image
More and more companies are trying to convert printed business be Png, Jpeg, Tiff, image-only PDF or Bmp. original layout and formatting of scanned images, fax
pdf find text; how to select text in a pdf
VB.NET PDF Convert to Word SDK: Convert PDF to Word library in vb.
Convert PDF to Word in both .NET WinForms and ASP.NET webpage. Create high quality Word documents from both scanned PDF and searchable PDF files without losing
pdf text search; how to select text in pdf and copy
198
©Nitro
charactersarealsopresent.Thecharactersafterthe“?”canbeusedtocreatebookmarks,irrespectiveof
whethercharactersbeforethe“?”arepresent.
Example:Entering“a?b”willcreatebookmarksfromanylineoftextcontainingab,abb,orjustb
( )
Allowscharacterstobegroupedtogetherandbecombinedwithotherspecialcharacters.
Example:“(a*b)$”willcreatebookmarksfromlinesoftextcontainingeitheraand/orb,butonlyifthese
linesendwithaorb
|
Createsbookmarksfromeitheronesetofcharactersoranother.
Example:Entering“a|b”intotheTextMaskfieldwillcreatebookmarksfromlinesoftextcontaining
eitheraorb
NitroPro10-UserGuide
VB.NET Create PDF from PowerPoint Library to convert pptx, ppt to
Convert multiple pages PowerPoint to fillable and editable PDF documents. Easy to create searchable and scanned PDF files from PowerPoint.
pdf find and replace text; search text in pdf image
VB.NET Create PDF from Word Library to convert docx, doc to PDF in
Easy to create searchable and scanned PDF files from Word. Convert Word to PDF file with embedded fonts or without original fonts fast.
text select tool pdf; search pdf documents for text
199
©Nitro
Edit a bookmark
NitroPro10comeswithacompletesetoftoolsforediting,ordering,grouping,alteringtheappearance
of,anddeletingthebookmarksinyourPDFdocuments.
Tip:Youcaneditmorethanonebookmarkatatime.Toselectarangeofbookmarksalreadyinorder,
left-clickthefirstone,thenholddownShiftandclickthelastone.Toselectmultiplebookmarksthat
arenotinsequence,justholddownControlwhileyouselectthem.
Tosetthebookmarkaction:
1. IntheBookmarkspane,right-clickonthebookmarkandselectProperties
2. ClicktheActiontab
3. IntheActionlist,clicktheaction,andthenclickAddActiontoList
4. Settheaction
5. ClickClose
Todeleteabookmark:
1. IntheBookmarkspane,selectthebookmarkanddooneofthefollowing:
l
PresstheDeletekey
l
Right-clickandclickDelete
Todeleteallbookmarks:
1. OntheEdittab,intheNavigationgroup,clickthearrowbelowBookmark
2. ClickDeleteAllBookmarks
Torenameabookmarklabel:
1. IntheBookmarkspane,doeitherofthefollowing:
l
Right-clickandchooseRename.
l
Double-clickthebookmarklabel
2. Typethenewbookmarktext
Tochangetheappearanceofbookmarks:
1. Right-clickonthebookmark(s),selectPropertiesanddoanyofthefollowing:
l
IntheStylelist,clickthetextstyle
l
IntheColorpalette,chooseapre-definedorcustomcolor
Bookmarkscanbenestedorgroupedtogethersothataparentbookmarkhaschildbookmarksgrouped
underit-thisallowsyoutohavemultipletiersorlevelsofbookmarks,whichbecomeparticularlyuseful
whenpreparingnavigationforlong,well-structureddocuments.
Toreorderbookmarks:
1. Clickthebookmarkanddragittothenewposition
2. Placethecursorontopofthebookmarkthatwillappearaboveitandreleasethebookmark
NitroPro10-UserGuide
VB.NET Create PDF from Excel Library to convert xlsx, xls to PDF
Create searchable and scanned PDF files from Excel in VB.NET Framework. Convert to PDF with embedded fonts or without original fonts fast.
find text in pdf image; find and replace text in pdf file
XImage.OCR for .NET, Recognize Text from Images and Documents
extraction from images captured by digital camera, scanned PDF document and image-only PDF. Output OCR result to memory, text searchable PDF, Word, Text file
cannot select text in pdf file; convert a scanned pdf to searchable text
200
©Nitro
Togroupornestbookmarks:
1. Clickthebookmarkanddragittothenewposition
2. Placethecursorontopofthebookmarktextlabelthatwillappearaboveitandreleasethebook-
mark
NitroPro10-UserGuide
C# Create PDF from Tiff Library to convert tif images to PDF in C#
turning tiff into searchable PDF or scanned PDF. Program.RootPath + "\\" Output.pdf"; // Load a doc = new TIFFDocument(inputFilePath); // Convert loaded TIFF
find text in pdf files; select text in pdf reader
C# Create PDF from Word Library to convert docx, doc to PDF in C#.
Easy to create searchable and scanned PDF files from Word. Convert to PDF with embedded fonts or without original fonts fast.
text searchable pdf file; how to select text in pdf reader
201
©Nitro
Security
WithNitroPro10,youcanapplytwodifferenttypesofsecuritytocontrolwhocanaccessyourfilesand
whatactionstheycanperformoncetheyreceivethem:password-basedsecurity,andcertificate-based
security.
Password-basedsecurity
Passwordsallowyoutorestrictaccessandusageofyourcontenttopeoplewhohavethepasswordused
tosecurethePDFfile.Dependingonyourneedsandtheintendedaudience,youcanchoosebetween40-
bitRC4,128-bitRC4,128-bitAES,256-bitAESencryption.
l
Openpasswords:Securelylockyourfilesoonlypeoplewiththecorrectpasswordcanopenthefile
l
Permissionpasswords:Theselockparticularfunctionalitywhenauseropensyourfile.For
example,youcanpreventrecipientsfrommodifyingorprintingyourdocument
Certificate-basedsecurity
Certificate-basedsecurityhasmanyadvantagesoverpassword-basedsecurity:documentscanbe
openedwithouttheneedtorememberpasswords,DigitalIDscannotbesharedorcopiedeasily,anda
singledocumentcancontaindifferentsecuritysettingsforindividualrecipients.Forexample,youmay
grantonepersoneditingandprintingprivileges,whileanotherislimitedtojustviewingthefile.
Toviewthesecurityinafile:
1. ClicktheFilemenubutton,andthenclickDocumentProperties
2. ClicktheSecuritytab
NitroPro10-UserGuide
202
©Nitro
Permission settings
Theusagepermissionsettingsletyourestrictwhatfeaturescanbeusedwhenarecipientopensafileyou
havesecured.Thismeans,forexample,thatyoucandistributedocumentsthatcan'tbeeditedorprinted,
butcanbeopenedandviewed.UsingthesepermissionsettingswithdigitalIDcertificate-basedsecurity
givesyouevengreaterflexibilityasyoucansetdifferentpermissionsforeachindividualrecipientofyour
file.
Theusagepermissionsyoucancontrolinclude:
l
Printing:Controltheuser'sabilitytoprintthedocument,andatwhatresolutionquality
l
Changes:Controltheuser'sabilitytoeditthecontentsofadocument
l
Documentassembly:Controltheuser'sabilitytoinsertpagesintoandextractpagesoutof
PDFdocuments
l
Formfieldfill-inorsigning:Controltheuser'sabilitytofillinformsanddigitallysigndoc-
uments
l
Commenting:Controltheuser'sabilitytoaddnotes,texthighlights,anddrawingmarkups
l
Contentcopyingorextraction:Controltheuser'sabilitytocopycontentfromadocument
l
Accessforscreenreaders:Allowtexttobeaccessedbyscreen-readingsoftwareforuserswitha
visualimpairment
NitroPro10-UserGuide
203
©Nitro
Password security
Torestrictaccessanduseofyourcontent,youcansecureyourPDFfilewithoneofthefollowingtypesof
password:
l
Openpasswords:Lockyourfilesoonlypeoplewiththecorrectpasswordcanopenit
l
Permissionpasswords:Lockparticularfunctionalitywhenauseropensyourfile.Forexample,you
couldstoprecipientsfromcopyingtextfromyourPDFdocumentorprintingit.
MethodstosecureaPDFfilewithpasswordsecurity
TherearetwowaystosecureaPDFfilewithpasswordsecurity.Theseproceduresaredescribedbelow.
l
PasswordSecuritydialog:ViewsecuritysettingsandmanuallyapplysecurityinDocument
Properties
l
Securityprofiles:Re-usablesecurityprofilesletyousavecustomsecuritysettings,andthenapply
thosesettingstoadocumentwithoneclick
Tomanagepasswordsecurity:
1. Dooneofthefollowing:
o
OntheProtecttab,intheSecureDocumentgroup,clickPasswordSecurity
o
IntheFilemenu,selectDocumentProperties.TheDocumentPropertiesdialogopens.On
theSecuritytab,intheSecuritymethodmenu,selectPasswordsecurity.
2. IfthePDFdocumentalreadyhaspasswordsecurity,NitroPro10promptsyoutoenterthe
documentpasswordbeforeupdatingpasswordsecurity
3. InthePasswordSecuritydialog,doanyofthefollowing:
o
Ifyouwantuserstoenterapasswordtoopenyourfile,checktheRequireapasswordto
thedocumentcheckbox,andenterapassword
o
Ifyouwanttorestrictpermissionsonceafileisopened,checktheRequireapasswordto
changesecuritysettingsandaccessspecificfunctionscheckbox,andenterapassword.
Specifyrestrictionsforprinting,changes,copyingtextandimages,andtextaccessfor
screenreaderdevicesforSection508compliance.
4. ClickMore.IntheSecurityLevelsection,specifyanencryptionAlgorithm.256-bitAESis
consideredthemostsecure.
5. ClickOKorFinish
6. SaveyourPDFdocumenttoapplythenewsecuritysettings
Toapplypasswordsecuritywithaspecificprofile:
1. Tomanagesecurityprofiles,ontheProtecttab,intheSecureDocumentgroup,clickManage
Profiles.Ifnecessary,createoreditasecurityprofilebeforeproceeding.Formoreinformation,see
Security
profiles
.
2. OntheSecuritytab,intheSecureDocumentgroup,clickthearrowbelowPasswordSecurity
3. Selectasecurityprofilefromthelist,andconfirmthatyouwanttosecurethedocument
4. SaveyourPDFdocumenttoapplythenewsecuritysettings
NitroPro10-UserGuide
204
©Nitro
Certificate security
DigitalIDsletyouencryptfilesthatcanonlybeopenedandusedbypeoplewhohaveexchanged
certificates.Certificate-basedsecurityhasmanyadvantagesoverpassword-basedsecurity:documents
canbeopenedwithouttheneedtorememberpasswords,DigitalIDscannotbesharedorcopiedeasily,
theonedocumentcancontaindifferentsecuritysettingsforeachrecipientofafile.Forexample,youmay
grantonepersoneditingandprintingprivileges,whileanotherislimitedtojustviewingthefile.
BeforeyoucanreceivefilesencryptedforyourdigitalID,youmustcreateyourdigitalIDandthenshareits
certificatewithpeoplewhoyouintendtosharecertificate-securedfiles.Youmusthavealsoreceivedand
importedthecertificateoftherecipientbeforeyoucanencryptfilesfortheiruse.
NOTE:Whenyouusecertificate-basedsecurity,remembertoaddyourowncertificateasanintended
recipient.Otherwise,youdonothaveaccesstothePDFfilewhenitissecured.
MethodstosecureaPDFfilewithcertificatesecurity
TherearetwowaystosecureaPDFfilewithcertificatesecurity.Theseproceduresaredescribedbelow.
l
CertificateSecuritydialog:ViewsecuritysettingsandmanuallyapplysecurityinDocument
Properties
l
Securityprofiles:Re-usablesecurityprofilesallowyoutosavecustomsecuritysettingsandthen
applythosesettingstoadocumentwithoneclick.Profilescanincludedetailsontherecipientsyou
allow.Thisletsyousecuredocumentsthesamewayforeachrecipient,everytime
Tomanagecertificatesecurity:
1. Dooneofthefollowing:
o
OntheProtecttab,intheSecureDocumentgroup,clickCertificateSecurity
o
IntheFilemenu,selectDocumentProperties.TheDocumentPropertiesdialogopens.On
theSecuritytab,intheSecuritymethodmenu,selectCertificatesecurity
2. IntheCertificateSecuritydialog,selectcontactsyouwanttoallowaccesstoyoursecuredfile,and
clickAdd.Torestrictusageforeachrecipientasyouaddthem,selecttheRestrictedPermissions
option,anddefinethelevelsofprintingandchangesallowedforthatperson
3. ClickMore.IntheSecurityLevelsection,specifyanencryptionAlgorithm.256-bitAESis
consideredthemostsecure
4. ClickOKorFinish
5. SaveyourPDFdocumenttoapplythenewsecuritysettings
Toapplycertificatesecuritywithaspecificprofile:
1. Tomanagesecurityprofiles,ontheProtecttab,intheSecureDocumentgroup,clickManage
Profiles.Ifnecessary,createoreditasecurityprofilebeforeproceeding
Formoreinformation,seeSecurity
profiles
2. OntheProtecttab,intheSecureDocumentgroup,clickthearrowbelowCertificateSecurity
3. Selectasecurityprofilefromthelist,andconfirmthatyouwanttosecurethedocument
4. SaveyourPDFdocumenttoapplythenewsecuritysettings
NitroPro10-UserGuide
Documents you may be interested
Documents you may be interested