pdf document viewer c# : Remove text from pdf Library SDK component .net asp.net winforms mvc m005_escapee4-part583

RedTitanEscapeE
Transformingfiles
83
Thereisanoptiontousedatacompression:thisusuallyreducesthesizeofthe
outputfiles,thoughitmakesthemslowertogenerate.
TosetoptionsforPCLexport
1. Select'Configuration...’fromtheOptionsmenu,select'HPPCL'astheformat
andclick the'Advanced...'button.
OR
Click‘PCLoptions...’fromtheExportwindow.
2. Ifyouwouldliketoreducethedocumentsizeselect'Usedatacompression'.
3. Ifyouwouldliketostoretextaslongerphrases(toimprovesearching)select
'Combinetext stringstogether'.
4. Select‘Renderasgraphic’toexportasinglegraphicimageperpage.
OR
Select'Renderallbuttextasgraphic'tocombinethenon-textelementsintoa
singlegraphicimageofeachpage whileretaining thetextelements.
5. Select'IncludeTrueTypefonts'unlessyouareusingaprinterthatdoesnot
supportTrueType.
6. Ifyouhavesetupsubstitutefontsinthe‘Fonts,SubstituteFonts...’dialogue,
select'Usestandardfontsifsubstitutefontgiven'.
7. Select'Keeporiginalelementorder'ifthedocumenthasorderedopaque
elements(e.g.shading)tooverwritetextorlines.
Remove text from pdf - delete, remove text from PDF file in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Allow C# developers to use mature APIs to delete and remove text content from PDF document
delete text pdf acrobat; how to delete text from a pdf in acrobat
Remove text from pdf - VB.NET PDF delete text library: delete, remove text from PDF file in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET Programming Guide to Delete Text from PDF File
remove text from pdf preview; delete text pdf preview
RedTitanEscapeE
Transformingfiles
84
8. Settheresolutionforlinedrawingandimagesandfortextpositioning:600dpi
or300dpi.
9. Clickthe'Save'buttontoretainthesesettingsafteryouclosetheprogram.
OR
Click 'Shortcut...'tocreate aShortcuticonwhichusesalltheoptionsyou
haveset (see
Creating aspecialshortcut icon
).
OR
Click'Apply'tousethesesettingsforthecurrentsession.
Note:
PCLfilesthathavebeenrepeatedlyeditedandupdatedoftenaccumulateredun-
dantcodeandunnecessaryfontdownloads.ByrunningsuchaPCLsourcefile
throughHPPCL'Export'youcanreprocessthefileandproducetidy,efficientcode
again.IfyouneedtocopythePCLcodewithoutreprocessing,choose'subset'as
theexportformat(see
Copyingandsaving pages
in
Chapter 2
).
SettingoptionsforPDFexport
PDFexporthasanumberofspecialoptionsforfilecompression,securityand
indexing.
APDFfilemayberenderedasagraphiconlyorasagraphicwithtext.The
'graphiconly'optionwillproduceanaccurateimagefromthefile,includingan
imageofthetext,butcannotbeusedforextractingtextforfurtherprocessing.
Exportingthe fileas'graphic withtext'retainsthetextfeatures(e.g.search)and
consumeslessmemory,butnotethat
EscapeE
willalwaysplacetextanddrawn
linesontopofanyopaqueelements,e.g.shading.Youmayoverridethisfeature
byselectingthe'Keeporiginalelementorder'option.Double-bytefonts,e.g.
currencysymbols,Chinesecharacters,arerenderedasgraphics,asarebox-
drawing characters.
Textphrasescanbestoredaslongerphrasestoimprovesearching.Asthisentails
decidingwhetherindividuallypositionedwordsformpartofacontinuousstringthe
resultsmaysometimesbeunsatisfactory.
Bydefault,
EscapeE
willusesubstitutefontsforanyprinter-residentfonts(e.g.
Courier,CGTimesandUnivers)andanydownloadedfontswillbeconvertedto
bitmapfontsandincludedinthePDF.Thesedefaultscanbechanged.
YoucangeneratePDFswhichhaverestrictedaccess.There aretwopasswords:
C# PDF remove image library: remove, delete images from PDF in C#.
Delete Text from PDF. Text: Replace Text in PDF. Image: Insert Image to PDF. Image: Remove Image from PDF Page. Image: Copy, Paste, Cut
how to delete text in pdf converter professional; delete text pdf acrobat professional
VB.NET PDF remove image library: remove, delete images from PDF in
PDF Write. Text: Insert Text to PDF. Text: Delete Text from PDF. Text: Replace Text in PDF. Image: Insert Image to PDF. Image: Remove Image from PDF Page. Image
how to delete text in pdf preview; how to erase in pdf text
RedTitanEscapeE
Transformingfiles
85
onetoallowfullownershipaccessincludingchangingthesecurityoptions,the
otherforgeneralusers.Iftheuserpasswordisspecifiedandtheownerpassword
isomittedthentherewilleffectivelyonlyberestrictedaccesstothefile.Ifthe
ownerpasswordisspecifiedbutnouserpasswordisgiventhentheonlywayof
accessingthefileiswiththeownerpassword.Ifneitherpasswordisgiventhen
thefileisnotencryptedandisavailabletoanyone.Thepasswordcanbe
encryptedinthePDFtoallowRedTitantorecoveritifitislost.
Thecapabilitiesforgeneralusersmayberestrictedtopreventprinting,selection
oftextandgraphicsforcopyingtotheclipboard,changingthedocument,and/or
addingorchangingnotesandformfields.
YoucanopttocreateaTableofContentsfromselectedfields,orfromtags,for
example,specialfontdefinitions.
TosetoptionsforPDFexport
1. Choose‘Configuration...’fromtheOptionsmenu,select'PDF'astheformat
andclick'Advanced...'
OR
Click‘PDFoptions...’fromtheExportwindow.
2. Select'Usedatacompression'touseFlatecompressiontoreducethedocu-
mentsize.
3. Select'Combinetextstringstogether'tostoretextaslonger r phrasesto
improvesearching.
4. Select‘Renderasgraphic’toexportasinglegraphicimageperpage.
VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.
Able to remove a single page from adobe PDF document in VB.NET. Ability to remove consecutive pages from PDF file in VB.NET. Enable
acrobat delete text in pdf; delete text from pdf
VB.NET PDF Password Library: add, remove, edit PDF file password
Remove password from PDF. Dim outputFilePath As String = Program.RootPath + "\\" Remove.pdf" ' Remove password in the input file and output to a new file.
pdf text remover; pull text out of pdf
RedTitanEscapeE
Transformingfiles
86
OR
Select'Renderallbuttextasgraphic'tocombinethenon-textelementsintoa
singlegraphicimageofeachpagewhileretainingthetextelements.
5. Select'IncludeTrueTypefonts'toincludeanyTrueTypefont,downloadedinthe
originalPCLfile,intheexportedPDFfile.UsingTrueType(i.e.scaleable
outline)fontsusuallyresultsinbetterappearancethanbitmappedfonts,but
mayhaveadverseeffectsonthefilesizeifonlyafewcharactersfromafont
areused.Ifthisboxisnotcheckedthenbydefaultsuchfontsareconvertedto
bitmapfonts.
6. Select‘Omitblankpages’tostopblankpagesbeingincludedinthePDFfile.
7. ToreducethesizeoftheexportedPDFfile,youmayspecifywhentosubsti-
tutefontsintheoriginaldocumentwithStandardAdobefonts.Ifyouchoose
toreplacebitmapfonts,TrueTypefontsor‘always’,ensurethatsuchfontsin
thedocumentareusing the Windowscharacter set, otherwisecharacters
maybewronglyattributed.The‘Ifsubstitutefontgiven’optionwillonlyomit
thedownloadfontifitisrecognisedashavingaknownsubstitute,soismore
reliable(see also
Setting up substitutefonts
in
Chapter 3
).
8. Torestrictthecapabilitiesforgeneralusersselectoneofthe'Donotallow'
options:
a)Printing
b)Selectionoftextandgraphicsforcopyingtotheclipboard
c)Changingthedocument
d)Addingorchangingnotesandformfields
9. TogeneratePDFswithrestrictedaccess,typeinthepasswordtheuser r will
usetoopenthedocumentortochangesecurityoptions.
Warning: curlybrackets,{and},willbeinterpretedasintroducingafield
name(see
Definingcomposite fields
in
Chapter5
), sotoincorporatethese
charactersinthepasswordyoumustsubstitutethetwocharactersequences
_{and_}respectively.
10.Select'SaveencryptedpasswordinthePDF'toallowthe passwordtobe
recoveredbyRedTitanifitislost.
11.Selectthe encryptionmethod:40-bitor128-bit.
12.Settheresolutionforlinedrawingandimagesandfortextpositioning:300dpi
or600dpi.
C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
console application. Able to remove a single page from PDF document. Ability to remove a range of pages from PDF file. Free trial package
how to edit and delete text in pdf file online; pdf editor delete text
C# PDF Password Library: add, remove, edit PDF file password in C#
String outputFilePath = Program.RootPath + "\\" Remove.pdf"; // Remove password in the input file and output to a new file. int
deleting text from a pdf; acrobat remove text from pdf
RedTitanEscapeE
Transformingfiles
87
13.Tomakeatableofcontents,clickthe 'Contents...'button(see
Creating
specialfieldsforPDFexport
in
Chapter5
).
14.Select'Keeporiginalelementorder'ifthedocumenthasorderedopaque
elements(e.g.shading)tooverwritetextorlines.
15.Clickthe'Save'buttontoretainthesesettingsafteryouclosetheprogram.
OR
Click'Shortcut...'tocreateaShortcuticonwhichusesallthe optionsyou
have set(see
Creating aspecialshortcut icon
).
OR
Click'Apply'tousethesesettingsforthecurrentsession.
Tip:
WhenviewingthePDFoutputinAdobeAcrobat,youmayneedtoturnoff'Smooth
textandmonochromeimages' fromthe'File,Preferences'menu.
Notes:
FieldsmaybedefinedtoenabletheexportofunfilledPDFformsusinganumberof
specialoptions:buttons,borders,checkboxes,editableboxes,lists(see
Creating
specialfieldsfor PDFexport
in
Chapter 5
).
TherearecommandlineoptionswhichenablethePDFdocumentsummary
elementsTitle,Description,Author,andKeywordstobedefined(see
Command
linesyntax:otheroptions
in
Chapter6
).Intheabsenceofanysuchoptionsthen
ifthereisafieldwiththeappropriatenameitisusedforthatitem.Forexample
afieldcalledPDF-Tcouldbeusedtoextractthefirstlineofthedocumentand
useitasthetitle.AnysuchfieldwillonlybeusedatthestartofeachPDF,so
musteitherbealiteralfieldoroccuronthefirstpageoftheinputfile(orofthe
sectionifmultiplePDFsarecreated).
Thecommandlineoption/PDFPREFallowsyoutosetuppreferencesregarding
thedisplayofaPDFdocument(see
Commandlinesyntax:otheroptions
in
Chapter 6
)..
AdobeAcrobathasamechanismformimickingfontsinPDFfiles.Ifyouarenot
happywiththeappearanceoffontsintheoutputfile,pleasecontactRedTitanfor
morehelpwithfonts.
SeeAlso:
Creating specialfieldsforPDFexport
in
Chapter 5
C# PDF Digital Signature Library: add, remove, update PDF digital
Delete Text from PDF. Text: Replace Text in PDF. Image: Insert Image to PDF. Image: Remove Image from PDF Page. Image: Copy, Paste, Cut
online pdf editor to delete text; remove text from pdf online
C# PDF bookmark Library: add, remove, update PDF bookmarks in C#.
Ability to remove and delete bookmark and outline entry.GetLocation()); Console.WriteLine("Text: " + entry.GetText NET Sample Code: Update PDF Document Outline
how to delete text from pdf with acrobat; remove text from pdf
RedTitanEscapeE
Transformingfiles
88
SettingoptionsforPostScriptexport
EscapeE
directlygeneratesoutputforPostScriptlevel2or3printerswithout
usinganyWindowsprinterdriver.
APostScriptfilemayberenderedasagraphiconlyorasagraphicwithtext.The
'graphiconly'optionwillproduceanaccurateimagefromthefile,includingan
imageofthetext,butcannotbeusedforextractingtextforfurtherprocessing.
Exportingthe fileas'graphic withtext'retainsthetextfeatures(e.g.search)and
consumeslessmemory.
Notethat
EscapeE
willalwaysplacetextanddrawnlinesontopofanyopaque
elements,e.g.shading.Youmayoverridethisfeaturebyselectingthe'Keep
originalelementorder'option.
Textphrasescanbestoredaslongerphrasestoimprovesearching.Asthisentails
decidingwhetherindividuallypositionedwordsformpartofacontinuousstringthe
resultsmaysometimesbeunsatisfactory.
For eachnumberedPCLinputtrayandoutputbinusedbythedocumentyoucan
assignaPostScriptname.Youmayselectastandardpapersizefromthedrop-
downboxorleavethisblankandfillinthepaperheightandwidth(ininches)
yourself.Whenexportingtoa'production'printer,youcanspecifytheweight,
colourandmedia-typeattributesaswell.
Thereisanoptiontousedatacompression:thisusuallyreducesthesizeofthe
output files,thoughitmakesthemslowertogenerate.
TosetoptionsforPostScriptexport
1. Select'Configuration...’fromtheOptionsmenu,select'PostScriptlevel2'or
'PostScriptlevel3'astheformatandclick'Advanced...'
OR
Click‘Postscriptoptions...’fromtheExportwindow.
2. Ifyouwouldliketoreducethedocumentsizeselect'Usedatacompression'.
3. Ifyouwouldliketostoretextaslongerphrases(toimprovesearching)select
'Combine text stringstogether'.
4. Select‘Renderasgraphic’toexportasingle e graphicimageper page.
OR
Select'Renderallbuttextasgraphic'tocombinethenon-textelementsintoa
singlegraphicimageofeachpage whileretaining thetextelements.
RedTitanEscapeE
Transformingfiles
89
5. Select'IncludeTrueTypefonts'toincludeanyTrueTypefont,downloadedinthe
originalPCLfile,intheexportedPostScriptfile.UsingTrueType(i.e.scaleable
outline)fontsusuallyresultsinbetterappearancethanbitmappedfonts,but
mayhaveadverseeffectsonthefilesizeifonlyafewcharactersfromafont
areused.Ifthisboxisnotcheckedthenbydefaultsuchfontsareconvertedto
bitmapfonts.
6. Settheresolutionforlinedrawingandimagesandfortextpositioning:300dpi
or600dpi.
7. AssigneachnumberedPCLoutputbinusedbythedocumentaPostScript
name.PostScriptnamesmaybeletters,numbersoramixtureofboth.Note
thatthenamesmaybelongerthaneightcharacters,maycontainspacesand
arecase-sensitive.
8. AssigneachnumberedPCLinputtrayusedbythedocumentaPostScript
name.Youmayselectastandardpapersizefromthedrop-downboxorleave
thisblankandfillinthepaperheightandwidth(ininches)yourself.When
exportingtoa'production'printer,itisusefultospecifytheweight,colourand
media-typeattributesaswell.
9. Select'Keeporiginalelementorder'ifthedocumenthasorderedopaque
elements(e.g.shading)tooverwritetextorlines.
10.Clickthe'Save'buttontoretainthesesettingsafteryouclosetheprogram.
OR
Click'Shortcut...'tocreateaShortcuticonwhichusesallthe optionsyou
have set,(see
Creating aspecialshortcut icon
).
RedTitanEscapeE
Transformingfiles
90
OR
Click'Apply'tousethesesettingsforthecurrentsession.
Notes:
CompressedfilesgeneratedforoldPostScriptprinters(‘level2’)willworkonthe
newPostScriptprinters(‘level3’).PSlevel3printersacceptmoreefficient
methodsofcompression(e.g.Flate)thanPS2andsoevensmallerfilesmaybe
generated,butthesefilesmaynotbeusablebyPS2printers.
PostScriptprintersarefedtheirmedia(paper)fromnumberedtrays.Thenumbers
maynotcorrespondtothephysicallayoutoftrayssochecktheprinter's.PPDfile
(or use'TRAYS.PS',obtainable fromRedTitan)toensurethatthecorrecttrayis
selectedinthe‘Options,Configuration’dialogue.Thiswillalsoshowyouthe
MediaType(name)ofthetrayifithasone.
ForproductionprinterstheoutputdocumentmustbecreatedwithaPostScript
DSCheader thatliststheattributesofthepaperstockbeing selected,sothe
size,weight,colourandtypeofthepaperassociatedwiththisPCLtraymustbe
specified. Adocumentwillnotnormallybeprinteduntilallitsspecifiedmedia
requirementsaremet-becarefulnottosetupalonglistoftraysthatresultina
medialistthatcannotbeactuallyconfiguredontheprinter.Ifdifferentdocuments
requiredifferenttrayconfigurationsthenyoushouldsaveeachseparatelyandonly
applythemtotheappropriateone.
Thetray/binselectionspecifiedinthePCLdatacanbeoverriddenusing/TRAY
and/BIN (see
Commandlinesyntax: printer configuration
in
Chapter 6
).Note
thatthisisstillthePCLtray/binnumbersoitmaybenecessarytodefinethe
equivalentPostscripttray/binusingthe‘Options,Configuration’dialogue.Select
the'Printer' tabtosetupthedefaulttrayandbin(see
Settingtheprinter defaults
in
Chapter 2
).
Settingoptionsfortextexport
Youcanexportthewholedocumenttoplaintext,allowingyoutocreatedocu-
mentswhichcanbeeasilyeditedwithanytexteditor.Alternativelyyoucanexport
justthedatafieldstoplaintext,commaseparatedvalues[CSV]orextensible
markuplanguage[XML]format(see
Chapter5. ExtractingdatafromPCLfiles
).
Ifyouareexportingtoanimageorotherformat,thefieldscanbeextracted
simultaneouslyintoCSV,XMLortextformat.Inthiscasea.LOGfileiscreated
instead(see
Settingoptionsfor the LOGfile
).
RedTitanEscapeE
Transformingfiles
91
Ifyouareexportingproportionallyspacedtextintofixedpitchplaintext,
EscapeE
canstriporaddspacessothatyoucancontrolthewaytextisaligned.
Someprinterdriversusearbitrarycharactercodeswhendownloadingfonts,so
thatanytextextracteddirectlyfromthePCLfileisnotreadable. Youcanusea
character recognitiondatabasetoconvertthetextbacktoausefulform,either in
Windowscharacter setor Unicode (see
Setting upacharacterrecognition
database
in
Chapter3
).
Tosetoptionsfortextexport
1 Select‘Configuration...’fromtheOptionsmenuandclick k the'Textoptions...'
button.
OR
Click‘Textoptions...’fromtheExportwindow.
2. Tofillthetextwithspaceswhenexportingintofixedpitchtext,selectoptions
inthe'SpaceFillforTextExport' section:
'Left'
Alignstheleftsideoftextfields
'Right'
Alignstherightsideoftextfields
‘Trim’
Removesleadingandtrailingspaces
'Spacing'
Typeinthewidth(inthecurrentunits)ofthe
columntobefilled
3. Todelimitthe e pages(e.g.toprintthemseparatelyorreprocessthemlater
with
EscapeE
)thenclick'Insertaformfeedforeachpage'.Ifyouwant
continuoustextwithnoindicationofpagebreaksthenleavethisboxclear.
RedTitanEscapeE
Transformingfiles
92
4. Select‘Treatnullsasspaces’tointerpret00(null)charactersasiftheywere
spaces.Thisisforusebyplaintextfileswhichwouldhavebeensenttoa
non-PCLprinter(PCLprintersignorenulls).
5. Todefinetheminimumverticaldifferencebetweenthebaselinesoftwowords
forthemtobedeemedondifferentlines,enteravalueinthe'Minimumline
height'box.Tochangethe unitsofmeasurement,clickonthe‘Viewing’tab
(see
Customisingtheview
in
Chapter 2
).
6. Ensureasuitablesymbolsetischosentooutputthetext(see
Changingthe
symbolset
in
Chapter3
).ChoosefromWindows(19U),16-bitUnicode,
UTF8unicode,orUnchanged(i.e.sameastheinputfile).
7. Tousethecharacterrecognitiondatabasetoconvertthetextbacktoa
readableformfromfileswherearbitrarycharacterencodingshavebeenused,
select‘Assigncharacter codesusing theTTLIBdatabase’(see
Settingupa
character recognition database
in
Chapter 3
).
8. Clickthe'Save'buttontoretainthesesettingsafteryouclosetheprogram.
OR
Click 'Shortcut...'tocreate aShortcuticonwhichusesalltheoptionsyou
haveset (see
Creating aspecialshortcut icon
).
OR
Click'Apply'tousethesesettingsforthecurrentsession.
Note:
Ifyouwanttoexportallthetextofthejob,ensurethat'Alltext'isselectedunder
'Fieldstobeoutput'onthe‘Export’window.Ifyoujustwanttoextractthedata
fields,selectanother option(see
Exportingdatafields
in
Chapter 5
).
Seealso:
Setting options s for r the LOGfile
Setting up acharacter recognition database
in
Chapter 3
Settingupautomaticfileexport
Insteadofexportingfilesmanuallyyoucansetup
EscapeE
toconvertPCLfiles
automaticallywheneveranewfilearrivesinagivenfolder.
Youcanspecifywhichfileextension(s)toprocess,e.g.*.PRNprocessesallPRN
filesinsteadofLSH.Theinputfileiseitherrenamedas*.BAKordeleted.
Documents you may be interested
Documents you may be interested