how to upload and view pdf file in asp net c# : How to select text in pdf and copy application control cloud html azure .net class Nitro_Pro_8_User_Guide_EN19-part241

176
©Nitro
Createabookmark
Youcancreatebookmarksbyselectingtextonapageandmakingitabookmark,orbyaddingan
untitledbookmarkandthensettingandnamingitintheBookmarkspane.
Whenaddingbookmarksthatlinktoanotherpartofthesamedocument,you’renotlimitedtojust
linkingtoapagenumber,youcanhaveprecisecontrolovertheexactviewauserexperiences—for
example,abookmarkcouldmoveausertoanotherpageandzoomintoasmallareaofthepage.Youset
thisbyeditingtheactionpropertyofthebookmark.
ToaddabookmarktoaPDFdocument:
1. OntheEdittab,intheNavigationgroup,clickBookmark
2. IntheBookmarkspane,typeinyourbookmarklabel
Note: Abookmarkaddedthiswayissetbydefaulttolinktothecurrentpagebeingviewed.Tousea
differentkindofaction,seetheEdit
a
Bookmark
chapterofthisguide.
Toturnaheadingortextintoabookmark:
1. Onanyribbontab,intheToolsgroup,clickSelect
2. Highlightthetexttouse
3. Right-clickandthenchooseAddBookmark
4. IntheBookmarkspane,dragtomovethebookmarktoitsproperorderwithinthelist
NitroPro8-UserGuide
How to select text in pdf and copy - 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
how to search pdf files for text; find text in pdf image
How to select text in pdf and copy - 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 text in multiple pdf; pdf search and replace text
177
©Nitro
Createbookmarksautomatically
TheAutoBuildBookmarksfeaturecantotallyautomatethecreationofbookmarksinyourPDFs,andwith
verylittleeffortgreatlyenhancetheusabilityofthePDFsyoupublish.Useittoauto-generatebookmarks
basedonthefontstyles(headings,chapters,etc.)andthelayoutusedinyourPDFs.Youcanalsouseitto
buildbookmarksbasedonthetextualandnumericalcontentofthePDFfilesbyusingthetextmasking
andwildcardsfeatures.
Tocreatebookmarksautomatically:
1. OntheEdittab,intheNavigationgroup,clickthearrowbelowBookmark
2. ClickAutoBuildBookmarks
3. IntheBuildBookmarksdialog,clickLevel1.ThiswillopenuptheSelectBookmarkAttributes
dialog
4. Dooneorbothofthefollowing:
l
Withthemousepointerusethecursortoselectanexampleofthetext(suchasaheading)
onthepage
l
Enablethecheckboxesofthepropertiesthatyouwanttocreatethebookmarksfrom
5. ClickOK
6. Tomakemorethanonetierofbookmarks,clickLevel2(andsoon)andthenperformstepsthree
andfouragain
7. IntheBuildBookmarksdialog,clickBuild
Tip:WithNitroPro8youcangeneratebookmarksautomaticallyfromyourWorddocumentsbasedon
theheadingstylestheycontain.SeetheSee"MicrosoftOfficeadd-insettings"onpage45 sectionof
theuserguideformoreinformation.
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.
NitroPro8-UserGuide
C# PDF Image Extract Library: Select, copy, paste PDF images in C#
C#: Select All Images from One PDF Page. C# programming sample for extracting all images from a specific PDF page. C#: Select An Image from PDF Page by Position.
how to select all text in pdf; search pdf files for text
VB.NET PDF Image Extract Library: Select, copy, paste PDF images
VB.NET : Select An Image from PDF Page by Position. Sample for extracting an image from a specific position on PDF in VB.NET program.
search pdf for text; cannot select text in pdf file
178
©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.Theseleading
numberscanbeexcludedfromthebookmarklabelsthataregeneratedautomatically
l
Textmasking:Includesorexcludescontentasbookmarksbasedonthewildcardsyouspecify.
InsteadofsearchingaPDFfilefortheattributes(fontname,sizeandcolor)andlayout(inden-
tation)theTextMaskfeatureallowsyoutosearchthetextcontentofthefilestoincludeand
excludetextfrombeingmadeintoabookmark.Textmaskingisparticularlyusefulwhenthereare
fewdefiningbookmarkproperties—whenthePDFfilehasnotbeenstructuredwellorcon-
sistently—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.
NitroPro8-UserGuide
VB.NET PDF Page Extract Library: copy, paste, cut PDF pages in vb.
Dim page As PDFPage = doc.GetPage(3) ' Select image by the point VB.NET: Clone a PDF Page. Dim doc As PDFDocument = New PDFDocument(filepath) ' Copy the first
how to select text in pdf; search pdf files for text programmatically
C# PDF Text Redact Library: select, redact text content from PDF
Page: Replace PDF Pages. Page: Move Page Position. Page: Extract, Copy and Paste PDF Pages. Page: Rotate a PDF Page. PDF Read. Text: Extract Text from PDF. Text
pdf searchable text; convert pdf to searchable text
179
©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
NitroPro8-UserGuide
C# PDF Page Extract Library: copy, paste, cut PDF pages in C#.net
Program.RootPath + "\\" 1.pdf"; PDFDocument doc = new PDFDocument(inputFilePath); // Select pages Description: Copy specified page from the input PDF file
find text in pdf image; find text in pdf files
VB.NET PDF- View PDF Online with VB.NET HTML5 PDF Viewer
PDF to text, C#.NET convert PDF to images, C#.NET PDF file & pages edit, C#.NET PDF pages extract, copy, paste, C# Select text and image on PDF document. 2.
how to search text in pdf document; convert pdf to searchable text online
180
©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
NitroPro8-UserGuide
VB.NET PDF - View PDF with WPF PDF Viewer for VB.NET
Tools Tab. Item. Name. Description. Ⅰ. Hand. Pan around the PDF document. Ⅱ. Select. Select text and image to copy and paste using Ctrl+C and Ctrl+V.
converting pdf to searchable text format; pdf text search tool
C# WPF PDF Viewer SDK to view PDF document in C#.NET
Tools Tab. Item. Name. Description. Ⅰ. Hand. Pan around the PDF document. Ⅱ. Select. Select text and image to copy and paste using Ctrl+C and Ctrl+V.
how to select text in pdf and copy; pdf editor with search and replace text
181
©Nitro
Editabookmark
NitroPro8comeswithacompletesetoftoolsforediting,ordering,grouping,alteringtheappearanceof,
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
NitroPro8-UserGuide
VB.NET PDF Text Redact Library: select, redact text content from
Page: Replace PDF Pages. Page: Move Page Position. Page: Copy, Paste PDF Pages. Page: Rotate a PDF Page. PDF Read. Text: Extract Text from PDF. Text: Search Text
how to make a pdf file text searchable; text searchable pdf file
C# HTML5 PDF Viewer SDK to view PDF document online in C#.NET
Image: Copy, Paste, Cut Image in Page. Link: Edit URL. Bookmark: Edit Bookmark. Metadata: Edit, Delete Metadata. Select text and image on PDF document. 2.
search text in pdf image; how to make pdf text searchable
182
©Nitro
Togroupornestbookmarks:
1. Clickthebookmarkanddragittothenewposition
2. Placethecursorontopofthebookmarktextlabelthatwillappearaboveitandreleasethebook-
mark
NitroPro8-UserGuide
183
©Nitro
Security
WithNitroPro8,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.Forexam-
ple,youcanpreventrecipientsfrommodifyingorprintingyourdocument
Certificate-basedsecurity
Certificate-basedsecurityhasmanyadvantagesoverpassword-basedsecurity:documentscanbe
openedwithouttheneedtorememberpasswords,DigitalIDscannotbesharedorcopiedeasily,anda
singledocumentcancontaindifferentsecuritysettingsforindividualrecipients.Forexample,youmay
grantonepersoneditingandprintingprivileges,whileanotherislimitedtojustviewingthefile.
Toviewthesecurityinafile:
1. ClicktheFilemenubutton,andthenclickDocumentProperties
2. ClicktheSecuritytab
NitroPro8-UserGuide
184
©Nitro
Permissionsettings
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
NitroPro8-UserGuide
185
©Nitro
Passwordsecurity
Torestrictaccessanduseofyourcontent,youcansecureyourPDF filewithoneofthefollowingtypesof
password:
l
Openpasswords:Lockyourfilesoonlypeoplewiththecorrectpasswordcanopenit
l
Permissionpasswords:Lockparticularfunctionalitywhenauseropensyourfile.Forexample,you
couldstoprecipientsfromcopyingtextfromyourPDF documentorprintingit.
MethodstosecureaPDFfilewithpasswordsecurity
TherearetwowaystosecureaPDFfilewithpasswordsecurity.Theseproceduresaredescribedbelow.
l
PasswordSecuritydialog:ViewsecuritysettingsandmanuallyapplysecurityinDocument
Properties
l
Securityprofiles:Re-usablesecurityprofilesletyousavecustomsecuritysettings,andthenapply
thosesettingstoadocumentwithoneclick
Tomanagepasswordsecurity:
1. Dooneofthefollowing:
OntheProtecttab,intheSecureDocumentgroup,clickPasswordSecurity
IntheFilemenu,selectDocumentProperties.TheDocumentPropertiesdialogopens.On
theSecuritytab,intheSecuritymethodmenu,selectPasswordsecurity.
2. IfthePDF documentalreadyhaspasswordsecurity,NitroPro8promptsyoutoenterthe
documentpasswordbeforeupdatingpasswordsecurity
3. InthePasswordSecuritydialog,doanyofthefollowing:
Ifyouwantuserstoenterapasswordtoopenyourfile,checktheRequireapasswordto
thedocumentcheckbox,andenterapassword
Ifyouwanttorestrictpermissionsonceafileisopened,checktheRequireapasswordto
changesecuritysettingsandaccessspecificfunctionscheckbox,andenterapassword.
Specifyrestrictionsforprinting,changes,copyingtextandimages,andtextaccessfor
screenreaderdevicesforSection508compliance.
4. ClickMore.IntheSecurityLevelsection,specifyanencryptionAlgorithm.256-bitAES is
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
NitroPro8-UserGuide
Documents you may be interested
Documents you may be interested