c# pdf reader : Delete blank pages in pdf files software SDK cloud windows wpf winforms class Typesetting-553-part1915

TailoringthePageLayout 13
ITocreatemultiplecolumns
1.Addthemulticolpackagetoyourdocument.
2.Denethestartofthemulticolumnenvironment:
a.Placetheinsertionpointwhereyouwantmultiplecolumnstobeginandenteran
encapsulatedT
E
Xeld.
b.Intheentryarea,typenbegin{multicols}{x}wherexisthenumberofcolumns
youwant.
c.ChooseOK.
3.Denetheendofthemulticolumnenvironment:
a.Placetheinsertionpointwhereyouwantmultiplecolumnstoendandenteran
encapsulatedT
E
Xeld.
b.Intheentryarea,typenend{multicols}.
c.ChooseOK.
ChangingthePageOrientation
Youcantypesetmostdocumentsusingportraitorlandscapeorientationforallorpart
ofthedocument. Youcanchangetheorientationofyourentiredocumentbychanging
theoptionsforthedocumentclassorbyaddingthegeometrypackagetothedocument
andthenmodifyingthepackageoptions.Becausethedocumentclassandpackageop-
tionsyouspecifycanconict,youmustbecarefulnottousecontradictoryorientation
settings.Theprintedoutputdependsonyourprinter'scapabilitiesandsettings..
ITochangetheorientationoftheentiredocument
 Usetheclassoptions:
a.OntheTypesettoolbar,clicktheOptionsandPackagesbutton
or,fromthe
Typesetmenu,chooseOptionsandPackages.
b.ChoosetheClassOptionstabandchooseModify.
c.IntheCategorybox,selectOrientation.
d.IntheOptionsbox,selecttheorientationyouwant,andthenchooseOK.
e.ChooseOKtoreturntoyourdocument.
or
 Usethegeometrypackage:
a.OntheTypesettoolbar,clicktheOptionsandPackagesbutton
or,fromthe
Typesetmenu,chooseOptionsandPackages.
b.ChoosethePackageOptionstab.
c.Addthegeometrypackagetoyourdocument.
d.FromthePackagesinUsebox,selectgeometryandchooseModify.
Delete blank pages in pdf files - remove PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Provides Users with Mature Document Manipulating Function for Deleting PDF Pages
delete blank pages in pdf files; add and delete pages in pdf
Delete blank pages in pdf files - VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Visual Basic Sample Codes to Delete PDF Document Page in .NET
add and remove pages from pdf file online; best pdf editor delete pages
14
Chapter1 TailoringTypesettingtoYourNeeds
e.IntheCategorybox,selectOrientation.
f.IntheOptionsbox,selecttheorientationyouwant,andthenchooseOK.
g.ChooseOKtoreturntoyourdocument.
Ifyouneedtocreateasectionofyourdocumentinadifferentorientation,wesuggest
thatyouusetheportland package(seepage152). . Youcanalsousepackagesthat
providetextrotation,suchaslscape(page139)orrotating(page156),toorientpages
differently. However,packagesthatuserotationaren'tcompatiblewiththeTrueT
E
X
PreviewerprovidedwithSWPandSW.NotethatPDFviewersdosupportrotation,so
youcansuccessfullyusethepackagestorotatetextintypesetPDFles.
ITochangetheorientationofasinglepage
1.Addtheportlandpackagetoyourdocument.
2.Placetheinsertionpointwhereyouwanttheorientationchangetooccur.
3.EnteraT
E
Xeld.
4.Intheentryarea,typenlandscapeornportrait,dependingontheorientationyou
want.
5.ChooseOK.
6.Placetheinsertionpointwhereyouwanttoreturntotheoriginalorientation.
7.EnteraT
E
Xeld.
8.Intheentryarea,typenportraitornlandscape,whicheverisappropriate.
9.ChooseOK.
Rememberthatyoumayneedtochangetheorientationsettingsforyourprinterso
thatyourdocumentprintsproperly.Instructionsdifferforeachprinter,butmostchanges
originatefromaSetuptab.Theinstructionsbelowareguidelinesonly.
Ifyouhaveasinglepagewithanorientationdifferentfromthatoftherestofthe
document,youmayneedtoprintitseparatelyafterchangingtheprintersettingsaccord-
ingly.
ITochangetheprintersettingsforadifferentorientation
1.Ifyou'reprintingfromthedocumentwindow,choosePrintorPrintPDFfromthe
Typesetmenu.
or
Ifyou'reprintingfromapreviewer,choosePrintorPrintSetupfromtheFilemenu.
Notethatmenucommandsmaydifferdependingonyourprintdriverandpreviewer.
2.LookforaSetuporPropertiestaborbuttonandchooseit.
C# PDF Page Insert Library: insert pages into PDF file in C#.net
such as how to merge PDF document files by C# code, how to rotate PDF document page, how to delete PDF page using Add and Insert Blank Pages to PDF File in
delete a page from a pdf acrobat; delete pdf pages online
C# Create PDF Library SDK to convert PDF from other file formats
Create PDF from Open Office files. Program.RootPath + "\\" output.pdf"; // Create a new PDF Document object with 2 blank pages PDFDocument doc
delete page from pdf file online; acrobat remove pages from pdf
TailoringthePageLayout 15
3.Selecttheorientationyouwant.
4.ChooseOKtoreturntoyourdocumentortothepreviewer.
NotethatyoumaywanttochangetheorientationoftheTrueT
E
Xdisplayinorderto
properlypreviewdocumentswithlandscapeorientation.
ITochangetheorientationoftheTrueT
E
XPreviewerdisplay
1.OntheTypesettoolbar, clicktheTypesetDVIPreviewbutton
or,fromthe
Typesetmenu,choosePreview.
2.FromtheOptionsmenuintheTrueT
E
XPreviewer,choosePreferences.
3.ChoosePageOrientationandselecttheorientationyouwant.
TheTrueT
E
XPreviewerremembersthepageorientationmostrecentlysetanduses
itthenexttimeyoupreviewadocument.
ChangingtoaDifferentPaperSize
Theprogramcantypesetmostdocumentsforavarietyofpapersizes. Youcanspec-
ifythepapersizebychangingtheclassoptionsorbyaddingthegeometry package.
(Thepackageworkswithmostbutnotallshells;formoredetailsaboutthegeometry
package,seepage130.)Becausethedocumentclassandpackageoptionsyouspecify
canconict,youmustbecarefulnottousecontradictorypapersizesettings. Printing
thedocumentsuccessfullyinvolveschangingthesettingsforyourprinterand,ofcourse,
usingthecorrectpaperintheprinter.
ITochangethepapersize
 Modifytheclassoptions:
a.OntheTypesettoolbar,clicktheOptionsandPackagesbutton
or,fromthe
Typesetmenu,chooseOptionsandPackages.
b.ChoosetheClassOptionstabandchooseModify.
c.IntheCategorybox,selectPapersize.
d.IntheOptionsbox,selectthepapersizeyouwant,andthenchooseOK.
e.ChooseOKtoreturntoyourdocument.
or
 Usethegeometrypackage:
a.OntheTypesettoolbar,clicktheOptionsandPackagesbutton
or,fromthe
Typesetmenu,chooseOptionsandPackages.
b.ChoosethePackageOptionstab.
c.Addthegeometrypackagetoyourdocument.
d.FromthePackagesinUsebox,selectgeometryandchooseModify.
VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
PDF document is unnecessary, you may want to delete this page instance may consist of newly created blank pages or image VB.NET: Edit and Manipulate PDF Pages.
delete pages from pdf acrobat; delete page in pdf online
VB.NET PDF Page Insert Library: insert pages into PDF file in vb.
Able to add and insert one or multiple pages to existing adobe PDF document in VB.NET. Ability to create a blank PDF page with related by using following online
delete page from pdf; delete pages on pdf
16
Chapter1 TailoringTypesettingtoYourNeeds
e.IntheCategorybox,selectPapersize.
f.IntheOptionsbox,selectthepapersizeyouwant.
g.ChooseOKtwicetoreturntoyourdocument.
ITochangetheTrueT
E
XPreviewersettingsforpaperofadifferentsize
1.OntheTypesettoolbar, clicktheTypesetDVIPreviewbutton
or,fromthe
Typesetmenu,choosePreview.
2.FromtheOptionsmenuintheTrueTeXDVIPreviewerwindow,choosePrefer-
encesandthenchoosePageSize.
3.SelectthepapersizeyouwantandchooseOK.
TheTrueT
E
XPreviewerremembersandusesthepagesizeselectedmostrecentlythe
nexttimeyoupreviewadocument.
ITochangetheprintersettingsforadifferentpapersize
1.FromtheTypesetmenu,choosePrintorPrintPDF.
2.InthePageSetuptab,scrollthelistofsizesinthePaperSizeboxtoselectthe
sizeyouwant.
Commandsandtheirmenulocationmaydifferdependingonyourprintdriver.
3.ChooseOKtoclosethesuccessionofdialogboxesandbeginprinting.
TailoringtheFrontandBackMatter
Thetypesettingspecicationsdeterminetheappearanceofelementsinthefrontand
backmatterofyourdocument. Thefrontmatteristheinformationthatappearsbefore
thebodyofyourdocument,includingelementssuchasatitlearea,tableofcontents,list
ofgures,andabstract.Thebackmatteristheinformationthatfollowsthebodyofthe
document,perhapsincludinganappendix,bibliography,andindex. Theappearanceof
thefrontandbackmattermayrequiremodicationtoadheretoyourrequirements.You
canmakemanyofthesechangesfromwithinSWPandSW.
ChangingtheTitlePage
Thetypesettingspecicationsdeterminewhichelementsappearonthetitlepageofyour
document. Ifyouneeddifferentinformationonthetitlepageofyourbook,report,or
thesis,youcandiscardtheautomaticallygeneratedfrontmatterandplacetheinforma-
tionyouwantinatitlepageenvironmentandaseriesofT
E
Xeldsinthebodyofyour
document. Youmustprovideallrequiredformattingfortheinformationonthenew
page. Also,becausethetitlepageenvironmentresetsthepagenumberofthefollowing
pageto1,youmayneedtoresetthepagenumberingscheme;seepage9.
C# Word - Insert Blank Word Page in C#.NET
specify where they want to insert (blank) Word document rotate Word document page, how to delete Word page NET, how to reorganize Word document pages and how
delete pages from a pdf file; delete pages from pdf in reader
C# PowerPoint - Insert Blank PowerPoint Page in C#.NET
where they want to insert (blank) PowerPoint document PowerPoint document page, how to delete PowerPoint page to reorganize PowerPoint document pages and how
delete pages from pdf acrobat reader; delete page from pdf preview
TailoringtheFrontandBackMatter 17
ITocreateacustomizedtitlepage
1.Atthebeginningofthebodyofyourdocument,enteranencapsulatedT
E
Xeld.
2.Intheentryarea,typenbegin{titlepage}andchooseOK.
3.Entertheinformationforthetitlepage,usingtagsandspacingcommandstoformat
theinformationaccordingtoyourrequirements.
4.Attheendoftheinformation,enteranencapsulatedT
E
Xeld.
5.Intheentryarea,typenend{titlepage}andchooseOK.
6.Ifyouwanttoinsertatableofcontentsoranotherfrontmatterelementsuchasalist
ofgures,orlistoftables,enteranencapsulatedT
E
Xeld.
7.Intheentryarea,typetheT
E
Xcommandfortheelement.
Thesecommandsincludentableofcontents,nlistofgures,andnlistoftables.
8.ChooseOK.
9.OntheTypesettoolbar, clicktheFrontMatterbutton
or, fromtheTypeset
menu,chooseFrontMatter.
10.DeleteeverythingandchooseOK.
11.Saveandpreviewthedocument, settingthenumberofLAT
E
Xpassesto3ifyour
documenthasatableofcontents.
Somejournalsrequirethatinformationabouttheauthorbeincludedinanunnum-
beredfootnote,withthefootnotemarkerappearingasanasterisknexttotheauthor's
nameinthetitleareaandthefootnoteitselfappearingwithanasteriskatthebottomof
thetitlepageorrstpage.
IToaddanunnumberedfootnotetothetitlepage
1.FromtheTypesetmenu,chooseFrontMatter.
2.Placetheinsertionpointattheendoftheauthor'snameintheAuthoreld.
3.OntheFieldtoolbar,clicktheNotebutton
or,fromtheInsertmenu,choose
Note.
4.Enterthetextofthefootnote.
5.IntheTypeofNotearea,selectfootnoteandchooseOK.
Whenyoutypesetthedocument,thefootnoteappearswithanasteriskatthebottom
oftherstpage. Footnotesinthebodyofthedocumentarenumberedbeginningwith
1.Resultscandifferiftheclassoptionsforthedocumentincludeatitlepageoptionand
thatoptionisselected,asexplainedonpage69. Wesuggestyouexperimentusingthe
styleyouhaveselectedforyourdocument.
How to C#: Cleanup Images
returned. Delete Blank Pages. Set property BlankPageDelete to true , blank pages in the document will be deleted. Remove Edges or Borders.
delete pages of pdf reader; add or remove pages from pdf
VB.NET Create PDF Library SDK to convert PDF from other file
Dim outputFile As String = Program.RootPath + "\\" output.pdf" ' Create a new PDF Document object with 2 blank pages Dim doc As PDFDocument = PDFDocument
delete pdf pages acrobat; delete pages on pdf online
18
Chapter1 TailoringTypesettingtoYourNeeds
InadditiontothecreationandrevisiondatesautomaticallyincludedintheDocument
Info,thefrontmatterofyourdocumentcancontainapublicationdate.
ITocreateapublicationdate
1.OntheTypesettoolbar,click
or,fromtheTypesetmenu,chooseFrontMat-
ter.
2.Enterthedate:
 If youwantthecurrentdateasthedateofpublication,donotincludeaDate
eld. IfaDateeldisalreadypresent,placetheinsertionpointimmediatelyto
therightoftheeldandapplytheRemoveItemtag.
LAT
E
Xaddsthecurrentdateautomatically.
 IfyouwanttospecifyadifferentdateofpublicationandaDateeldisalready
present,placetheinsertionpointimmediatelytotherightoftheeldandtype
thedateyouwant.
 IfyouwanttospecifyadateofpublicationandaDateeldisn'tpresent,
iPlacetheinsertionpointattheendoftheeldthatshouldimmediatelyprecede
thedateandpress
ENTER
.
iiApplytheDateitemtagandtypethedate.
MakesuretheDateeldappearsbeforetheMakeTitleeld.
3.CompletethefrontmatterandchooseOK.
ChangingtheTableofContents
Thetypesettingspecicationsdenethewayeachdivisionofyourdocumentispre-
sentedinthe tableofcontents. . Theydetermine e which division headingsappearin
thecontents,whetherunnumberedheadingsareincluded,andhowcertainheadingsare
listed.Changingthesespecicationsfromwithintheprogramisstraightforward.
ChangingtheDivisionLevelsDisplayedintheTableofContents
Thetocdepthcountersettinginthetypesettingspecicationsdetermineswhichdi-
visionheadings areincludedinthetableofcontents. . L
A
T
E
Xuses sectionaslevel1,
regardlessofthedocumentclass.Forinformationaboutwhichdivisionheadingscarry
numbers,bothinthetableofcontentsandthetext,seepage28.
ITomodifythelevelofdivisionheadingsreectedinthetableofcontents
1.FromtheTypesetmenu,choosePreambleandclickthemouseintheentryarea.
2.Onanewlineattheendoftheentries,typensetcounter{tocdepth}{x}wherexis
thedeepestheadinglevelyouwanttodisplay.
3.ChooseOK.
VB.NET PDF: Get Started with PDF Library
Auto Fill-in Field Data. Field: Insert, Delete, Update Field. RootPath + "\\" output.pdf" ' Create a new PDF Document object with 2 blank pages Dim doc
delete page on pdf document; delete pages from pdf reader
TailoringtheFrontandBackMatter 19
CreatingPageBreaksintheTableofContents
L
A
T
E
Xgeneratestheentriesinatypesettableofcontentsfromthedivisionheadingsin
yourdocument.Youcanforceatableofcontentsentrytomovefromthebottomofone
pagetothetopofthenext,orviceversa. UseLAT
E
Xcommandsinthebodyofyour
documenttolengthenpagesandcreatepagebreaksinthetableofcontents.
IToforceanentrytothenextpageofthetableofcontents
1.Compileyourdocumenttogenerateatableofcontents.
2.Determinethetableofcontentsentryyouwanttoforcetothenextpage.
3.Inthebodyofyourdocument,ndthecorrespondingdivisionheading.
4.Placetheinsertionpointimmediatelyabovetheheading.
5.EnteraT
E
Xeld.
6.Intheentryarea,typenaddtocontents{toc}{nprotectnpagebreak}.
7.ChooseOK.
Whenyoucompileyourdocumenttocreateanewtableofcontents,L
A
T
E
Xplacesa
pagebreakbeforethetableofcontentsentryforthedivisionheading,andforcesthe
entrytothenextpageofthetableofcontents. Thebodyofyourdocumentremains
unchanged.
IToforceanentrytothepreviouspageofthetableofcontents
1.Compileyourdocumenttogenerateatableofcontents.
2.Determinethetableofcontentsentryyouwanttoforcetothepreviouspage.
3.Inthebodyofyourdocument,ndthecorrespondingdivisionheading.
4.PlacetheinsertionpointimmediatelyabovetheheadingandenteraT
E
Xeld.
5.Intheentryarea,typenaddtocontents{toc}{nprotectnenlargethispage*{1000pt}}
wheretheactualpointvaluedependsonhowmuchinformationyou'retryingtot
onthepage.
6.ChooseOK.
7.PlacetheinsertionpointintheparagraphfollowingtheheadingandenteraT
E
Xeld.
8.Intheentryarea,typenaddtocontents{toc}{nprotectnpagebreak}andchooseOK.
Whenyoucompileyourdocumenttocreateanewtableofcontents,L
A
T
E
Xforcesthe
entryforthedivisionheadingtothepreviouspageofthetableofcontentsandplaces
apagebreakaftertheentry.Thebodyofyourdocumentremainsunchanged.
CreatingShortTableofContentsEntries
Ifadivisionheadinginyourdocumentislong,youcandeneashortheadingforusein
thetableofcontents.Theshortheadingisalsousedforthepageheader,asdescribedon
page9.
20
Chapter1 TailoringTypesettingtoYourNeeds
ITodeneashortheadingforadivision
1.Placetheinsertionpointatthebeginningofthedivisionheading.
2.Typetheshortheadingenclosedinsquarebrackets.
Theheadingmightthenlooksomethinglikethis:
[ShortHeading]ALongHeadingtoAnnounceThisSectionofMyDocument
ListingUnnumberedDivisions
Generally,thespecicationsexcludeunnumbereddivisions,suchastheintroductionor
acknowledgments,fromthetableofcontents.YoucanforceL
A
T
E
Xtoincludethem.
IToincludeanunnumbereddivisioninthetableofcontents
1.Placetheinsertionpointjustaftertheunnumberedheading.
2.EnteranencapsulatedT
E
Xeld.
3.Intheentryarea,typenaddcontentsline{toc}{sectionlevel}{Name}wheresection-
levelistheleveloftheheadingyouwanttoinclude,suchaschapterorsection,and
Nameisthetextyouwanttoappearinthetableofcontents.
4.ChooseOK.
ListingtheBibliographyandIndex
Theheadingsfortwodivisions—thebibliographyandtheindex—arebothunnumbered
andautomaticallygenerated.Theytypicallyappearinthebodyofthedocumentbutnot
inthetableofcontents.Youcancreateacontentsentryforboth.
IToaddthebibliographyorindextothetableofcontents
1.Createthebibliographylistorindexentries.
2.Typesetcompilethedocumenttogeneratetheindexand,ifyou'reusingB
IB
T
E
X,the
bibliography.
3.Createthetableofcontentsentry:
 IfyouhaveVersion4.0orlater,addthetocbibindpackagetoyourdocument.
Thepackageautomaticallyincludesthebibliographyandtheindexinthetable
ofcontents.
or
 Ifyouhaveanearlierversion,
iPlacetheinsertionpointjustbeforetheindexorthegrayboxfortheB
IB
T
E
X
bibliography.
iiEnteranencapsulatedT
E
Xeld.
iiiIntheentryarea,typenclearpageifyou'reworkinginanarticleorreportshell
orncleardoublepageifyou'reworkinginabookshell.
TailoringtheFrontandBackMatter 21
ivPress
ENTER
.
vTypenaddcontentsline{toc}{divisionlevel}{Name}wheredivisionlevelisthe
leveloftheheadingyouwanttoinclude,suchaschapterorsection,andName
isthetextyouwanttoappearinthetableofcontents.
viChooseOK.
ListingtheAppendices
Typesettingspecicationscanautomaticallyformatcertaintableofcontentsentries.For
example,somespecicationscreatecontentsentriesforeachappendixusingtheappen-
dixnumberonly;othersprecedethenumberwiththewordAppendix.Ifyourdocument
shellusesonlytheappendixnumberinthetableofcontents,youcanmodifytheentry
byaddingthewordAppendix.
IToforcethewordAppendixtoappearinthetableofcontents
1.Placetheinsertionpointwhereyouwanttheappendixtitletoappearinthedocument.
2.EnteranencapsulatedT
E
Xeld.
3.Intheentryarea,
 Ifyou'reusinganarticleshell,type
nsection*{Appendixx.TheTitleoftheAppendix}
wherex.TheTitleoftheAppendixindicatesthenumberandtitleoftheappen-
dix.
or
 Ifyou'reusingabookshell,type
nchapter*{Appendixx.TheTitleoftheAppendix}.
Thiscommandremovestheautomaticgenerationoftheappendixnumberandchanges
theappearanceofthetitleinthetexttowhatyouhaveenteredinsidethecurlybraces.
4.Typeasecondcommandtoaddthenowunnumberedsectiontothetableofcontents:
naddcontentsline{toc}{section}{Appendixx.TheTitleoftheAppendix}.
Ifyou'reusingabookorreportshell,substitutethewordchapterforthewordsec-
tion.
5.ChooseOK.
ChangingtheListofFigures
Ifthecaptionsfortheoatinggraphicsinyourdocumentaretoolongtoappearinalist
ofgures,youcanshortenthewaytheyappearinthelistofguresbutkeepthefulltext
ofthecaptioninthebodyofyourdocument.
22
Chapter1 TailoringTypesettingtoYourNeeds
ITodeneashortcaptionforaoatinggraphic
1.Selectthegraphic.
2.ChooseProperties.
3.ChoosetheLabelingtab.
4.Choosethepositionofthecaptioninthebodyofthedocument(AboveorBelow).
5.IntheCaptiontextarea,typethecaptionasyouwantittoappearinthebodyof
yourdocument.
6.ChecktheboxmarkedShortform.
7.IntheCaptiontextarea, typethecaptionasyouwantittoappearinthelistof
gures.
8.ChooseOK.
CreatinganUnnumberedManualBibliography
Attimes,youmaywanttocustomizethetypesetappearanceofitemsinamanualbibli-
ographyandthecitationsthatrefertothem.Forexample,youmaywanttoremovethe
numbersfromthebibliographyitemlist,alphabetizetheitemsthemselves,orcreateci-
tationswithcertaincontent,suchastheauthor'snameandyearofpublication.Seepage
36foradditionalinformationaboutformattingcitations.
ITocreateanunnumberedmanualbibliography
1.CreateyourdocumentusingoneofthestandardL
A
T
E
Xshells.
2.FromtheTypesetmenu,chooseBibliographyChoice,checkManualEntry,and
chooseOK.
3.Removethetypesettingofthelabelsfromthebibliographyitemlist:
a.FromtheTypesetmenu,choosePreamble.
b.Clickthemouseintheentryareaandaddtheselinestotheendofthepreamble:
nmakeatletter
ndefn@biblabel#1{nhspace*{-nlabelsep}}
nmakeatother
c.ChooseOK.
4.Createthebibliographyitemlist,givingalabeltoeachitem:
a.Placetheinsertionpointwhereyouwantthebibliographyitemlisttobegin.
b.ApplytheBibliographyItemtag.
c.IntheKeybox,typeakeyfortheitem.
Documents you may be interested
Documents you may be interested