c# open pdf file in browser : Delete pages in pdf SDK control API .net web page azure sharepoint SnowBatchUsersGuide1-part177

Chapter2-GettingStarted
Chapter 2 - Getting Started
ThischapterdescribesthebasicfunctionsoftheSnowBatchproduct.Thischaptercontains
thefollowingtopics:
Using
the
Application
Format
of
Output
Files
Usingthe Application
ThissectiondescribessomebasicfunctionsoftheSnowBatchsoftware,suchasopeningand
closingtheapplication,usingkeyboardshortcuts,andpausingtheconversionprocess.
OpeningtheApplication
ToopentheSnowBatchapplication,double-clickSnowbatch.exefromtheinstallation
directory,ordouble-clicktheSnowBatchicon
fromthedesktop.ThemainSnowBatch
windowopens,asseeninFigure 2-
1
.
Figure2-1:SnowBatchMainDialog
11
Delete pages in pdf - remove PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Provides Users with Mature Document Manipulating Function for Deleting PDF Pages
acrobat remove pages from pdf; delete pdf pages online
Delete pages in pdf - 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
delete pages from pdf acrobat; delete pages on pdf
Chapter2-GettingStarted
UnderstandingtheMainSnowBatchDialog
ThemainSnowBatchdialogisdividedintofivesections;anareaforoutputsettings,sourcefile
options,sourcefiledirectories,destinationfiledirectories,andconversionstatus.
ClosingtheApplication
Toclosetheapplication,selectoneofthefollowingmethods:
• ChooseFile > Exit
• Click
Format of Output Files
Therearedifferentoutputfilenamingconventionsdependingontheoutputtype,whethermulti-
pageimagesaresplitduringconversion,andwhethertheimagesarebeingsavedtoadirectory
orafile.
Note:
Themajordifferencesinthefilenamingconventionareduetotheconversionoptions
selected.
ExamplesUsingMulti-pageOutputFileTypes
Table 2-1liststhepossibleoutputnamingconventionsforimagessavedtoamulti-pageoutput
format.Theoutputformatnamingconventionfortheimagesisdeterminedbasedonthe
conversionoptionsselected.
Table2.1:Multi-pageOutputFileNamingConversion
Example
SplittingFiles
Destination
OutputFileNames
1
False
Directory
<sourcefilename>.<format>.sbd
2
True
Directory
<sourcefilename>.<format>.<pg#>.sbd
3
False
File
<destinationfilename>.<format>.sbd
4
True
File
<destinationfile
name>.<format>.<pg#>.sbd
Belowisthesamplelogoutputforeachexamplelistedabove.Foralloftheseexamples,
chover.pdf isthesourcefile,whichisamulti-pagePDFfile.TIFF_G4_FAXistheoutputfile
typeselected(multi-pageoutputformat).
Example2.2:LogFileResults
C:\manuals\chover.pdf--10--1--c:\images\\\chover.pdf.TIFF_G4_
12
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
C# view PDF online, C# convert PDF to tiff, C# read PDF, C# convert PDF to text, C# extract PDF pages, C# comment annotate PDF, C# delete PDF pages, C# convert
delete pages on pdf file; cut pages out of pdf
C# PDF Page Insert Library: insert pages into PDF file in C#.net
how to merge PDF document files by C# code, how to rotate PDF document page, how to delete PDF page using C# .NET, how to reorganize PDF document pages and how
delete pdf pages ipad; delete page on pdf file
Chapter2-GettingStarted
FAX.sbd--1--Done!
C:\manuals\chover.pdf--10--2--c:\images\\\chover.pdf.TIFF_G4_
FAX.sbd--2--Done! -> **APPENDED**
C:\manuals\chover.pdf--10--3--c:\images\\\chover.pdf.TIFF_G4_
FAX.sbd--3--Done! -> **APPENDED**
C:\manuals\chover.pdf--10--4--c:\images\\\chover.pdf.TIFF_G4_
FAX.sbd--4--Done! -> **APPENDED**
SnowBatchconvertedthePDFintoonefilecalledchover.pdf.TIFF_G4_FAX.sdb.
Allpagesoftheoriginalmulti-pageimageareappendedtothisfile.
Example2.3:LogFileResults
C:\manuals\chover.pdf--10--1--c:\images\\chover.pdf.TIFF_G4_
FAX.1.sbd--1--Done!
C:\manuals\chover.pdf--10--2--c:\images\\chover.pdf.TIFF_G4_
FAX.2.sbd--1--Done!
C:\manuals\chover.pdf--10--3--c:\images\\chover.pdf.TIFF_G4_
FAX.3.sbd--1--Done!
C:\manuals\chover.pdf--10--4--c:\images\\chover.pdf.TIFF_G4_
FAX.4.sbd--1--Done!
SnowBatchconvertedthePDFintofourseparatefiles;chover.pdf.TIFF_G4_
FAX.1.sdb,chover.pdf.TIFF_G4_FAX.2.sdb,chover.pdf.TIFF_G4_
FAX.3.sdb,andchover.pdf.TIFF_G4_FAX.4.sdb.
Example2.4:LogFileResults-FilenameSelectedisTested
C:\manuals\chover.pdf--10--1--c:\images\test.TIFF_G4_FAX.sbd--
1--Done!
C:\manuals\chover.pdf--10--2--c:\images\test.TIFF_G4_FAX.sbd--2--Done!
-> **APPENDED**
C:\manuals\chover.pdf--10--3--c:\images\test.TIFF_G4_FAX.sbd--3--Done!
-> **APPENDED**
C:\manuals\chover.pdf--10--4--c:\images\test.TIFF_G4_FAX.sbd--4--Done!
-> **APPENDED**
SnowBatchconvertedthePDFintoonefilecalledtest.TIFF_G4_FAX.sdb.All
pagesoftheoriginalmultipageimageareappendedtothisfile.
Example2.5:LogFileResults-FileNameSelectedIstest
C:\manuals\chover.pdf--10--1--c:\images\test.TIFF_G4_
13
VB.NET PDF Page Insert Library: insert pages into PDF file in vb.
Page: Insert PDF Pages. |. Home ›› XDoc.PDF ›› VB.NET PDF: Insert PDF Page. Add and Insert Multiple PDF Pages to PDF Document Using VB.
cut pages out of pdf file; delete blank pages from pdf file
VB.NET PDF Page Extract Library: copy, paste, cut PDF pages in vb.
C:\test1.pdf") Dim pdf2 As PDFDocument = New PDFDocument("C:\test2.pdf") Dim pageindexes = New Integer() {1, 2, 4} Dim pages = pdf.DuplicatePage(pageindexes
delete pages from a pdf in preview; delete pages of pdf reader
Chapter2-GettingStarted
FAX.1.sbd--1--Done!
C:\manuals\chover.pdf--10--2--c:\images\test.TIFF_G4_
FAX.2.sbd--1--Done!
C:\manuals\chover.pdf--10--3--c:\images\test.TIFF_G4_
FAX.3.sbd--1--Done!
C:\manuals\chover.pdf--10--4--c:\images\test.TIFF_G4_
FAX.4.sbd--1--Done!
SnowBatchconvertedthePDFintofourseparatefiles;test.TIFF_G4_FAX.1.sdb,
test.TIFF_G4_FAX.2.sdb,test.TIFF_G4_FAX.3.sdb,andtest.TIFF_G4_
FAX.4.sdb.
ExamplesUsingNon-Multi-pageOutputFileTypes
Table 2-2liststhepossibleoutputnamingconventionsforimagessavedtoanon-multi-page
outputformat.Theoutputformatnamingconventionfortheimagesisdeterminedbasedonthe
conversionoptionsselected.
Table2.6:Non-multi-pageOutputFileNamingConversion
Example
SplittingFiles
Destination
OutputFileName
5
True
Directory
<sourcefilename>.<format>.<pg#>.sbd
6
True
File
<destinationfilename>.<format>.<pg#>.sbd
Belowisthesamplelogoutputforeachexamplelistedabove.Foralloftheseexamples,afile
calledchover.pdf isbeingused.Thisfileisamulti-pagePDFfile.JPEGistheoutputfile
typeselected(non-multi-pageoutputformat).
Example2.7:LogFileResults
C:\manuals\chover.pdf--13--1--
c:\images\\\chover.pdf.JPEG.1.sbd--1--Done!
C:\manuals\chover.pdf--13--2--
c:\images\\\chover.pdf.JPEG.2.sbd--1--Done!
C:\manuals\chover.pdf--13--3--
c:\images\\\chover.pdf.JPEG.3.sbd--1--Done!
C:\manuals\chover.pdf--13--4--
c:\images\\\chover.pdf.JPEG.4.sbd--1--Done!
SnowBatchconvertedthePDFintofourseparatefiles;chover.pdf.JPEG.1.sdb,
chover.pdf.JPEG.2.sdb,chover.pdf.JPEG.3.sdb,and
chover.pdf.JPEG.4.sdb.
14
C# PDF Page Extract Library: copy, paste, cut PDF pages in C#.net
C#.NET PDF Library - Copy and Paste PDF Pages in C#.NET. Easy to C#.NET Sample Code: Copy and Paste PDF Pages Using C#.NET. C# programming
delete blank page in pdf online; cut pages from pdf online
VB.NET PDF delete text library: delete, remove text from PDF file
VB.NET PDF - How to Delete Text from PDF File in VB.NET. VB.NET Programming Guide to Delete Text from PDF File Using XDoc.PDF SDK for VB.NET.
add and remove pages from pdf file online; delete pages from a pdf
Chapter2-GettingStarted
Example2.8:LogFileResultsFileNameSelectedIstest
C:\manuals\chover.pdf--13--1--c:\images\test.JPEG.1.sbd--1--
Done!
C:\manuals\chover.pdf--13--2--c:\images\test.JPEG.2.sbd--1--
Done!
C:\manuals\chover.pdf--13--3--c:\images\test.JPEG.3.sbd--1--
Done!
C:\manuals\chover.pdf--13--4--c:\images\test.JPEG.4.sbd--1--
Done!
SnowBatchconvertedthePDFintofourseparatefiles;test.JPEG.1.sdb,
test.JPEG.2.sdb,test.JPEG.3.sdb,andtest.JPEG.4.sdb.
PleaseseethenexttopicChapter
3,
Setting
User
Options.
15
C# Word - Delete Word Document Page in C#.NET
doc.Save(outPutFilePath); Delete Consecutive Pages from Word in C#. int[] detelePageindexes = new int[] { 1, 3, 5, 7, 9 }; // Delete pages.
delete page from pdf preview; add and delete pages in pdf
C# PDF metadata Library: add, remove, update PDF metadata in C#.
Allow C# Developers to Read, Add, Edit, Update and Delete PDF Metadata in .NET Project. Remove and delete metadata from PDF file.
delete pages of pdf online; delete page from pdf
Chapter3-SettingUserOptions
Chapter 3 - Setting User Options
ThischapterdescribestheSnowBatchoptionsthatcanbesetbeforeconvertingimages.This
chaptercontainsthefollowingtopics:
Processing
Directories
Recursively
Replicating
Output
Subdirectories
Splitting
Up
Multi-
page
Files
Combining
Multiple
Source
Files
into
One
File
Combining
Multiple
Source
Files
in
a
Directory
into
a
File
Selecting
the
Source
File
Name
with
the
Filter
Selecting
Logging
Options
Setting
Document
Input
and
Output
Options
Setting
the
Source
File
Options
Deleting
Destination
Files
on
Error
Deleting
Output
Files
on
Error
S
etting
the
Overlay
Path
and
Font
Mapping
Options
Setting
the
Output
Naming
Convention
Working
with
Watermark
Options
ProcessingDirectories Recursively
YoucanprocesstheimagesinallsubdirectoriesofaspecifieddirectorybyusingtheConvert
SubDir'soption.Whenthisoptionisselected,SnowBatchtraversesthespecifieddirectory
treewithouthavingtospecifyeachsubdirectory.
Toprocessallimageswithinadirectorytree,checktheConvertSubDir'scheckboxinthe
OutputSettingsframeofthemaindialogbox.
Note:
IttakessometimeforSnowBatchtobuildthefilelistifthedirectorytreeislong.
ReplicatingOutput Subdirectories
Youcanselecttohaveallconvertedimagesgointoreplicatedsubdirectoriesbyusingthe
ReplicateOutputSubDir'soption.Whenthisoptionisselected,SnowBatchsavesall
convertedimagesintoreplicatedsubdirectoriesaccordingtotheoriginalsubdirectories.
16
Chapter3-SettingUserOptions
Toreplicatetheoutputsubdirectory,checktheReplicateOutputSubDir'scheckboxinthe
OutputSettingsframeofthemaindialogbox.Ifthisboxisnotchecked,theconvertedimages
willgotothedestinationdirectorieswithoutanysubdirectorycreated.
Note:
TheReplicateOutputSubDir'scheckboxisonlyenabledwhentheConvertSubDir's
checkboxisselected.Ifitisnotselected,theReplicateOutputSubDir'soptionis
disabled.
SplittingUpMulti-page Files
Youcansplitupmulti-pageimagesintoseparatefilesduringconversion.Forexample,let'ssay
youhaveamulti-pagefilecalledmultipic.tif,whichcontainsthreeimagesthatyouwantto
converttoPDFformat.Ifyouselecttheoptiontosplitupthefile,thesystemcreatesthree
separatefilesfromtheconversion.SeeFormat
of
Output
Files
formoreinformationand
examplesofdifferentfilenamingconventions.
Tosplitupmulti-pagefilesduringconversion,checktheSplitMulti-pageFilescheckboxin
theOutputSettingsframeofthemaindialogbox.IftheSplitMulti-pageFilescheckboxis
checked,allofthemulti-pagefilesinthesourcefilelistwillbeconvertedtosinglepagefiles.
Notes:
Themulti-pagesplitfeatureisignoredifyouconvertmulti-pagetypeformatstonon-
multi-pagetypeformats.
Whenthisoptionisselected,allmulti-pagefiles(withtheselectedextension)within
thesourcedirectory/directoriesaresplitupduringconversion.
CombiningMultiple Source Files intoOne File
Tocombineallofthelistedsourcefilesintoonedestinationfile,checktheMergeMulti-page
checkboxintheOutputSettingsframeonthemaindialogboxandselectonedestinationfile.If
theoutputformatisamulti-pageformat,allofthepagesofthesourcefileswillbeappended
accordingtotheorderinthesourcefilelist.Otherwise,ifthedestinationfileisinasinglepage
format,theoutputfilewillbeoverwritten.
Theexamplebelowshowshowtocombinethepdf_test_p1.jpg,pdf_test_p2.jpg,pdf_test_
p3.jpg,pdf_test_p4.jpgfilesintothetiff_merge_test.tiffilewiththeoutputformatasTIFF_G4_
FAX:
1.
IntheSourcesectionofthemaindialogbox,selecttheBrowsebutton.FromtheSelect
DirectoryorFiledialogbox,selectmultiplesourcefilesandclicktheOpenbutton.
2.
IntheOutputSettingssectionofthemaindialogbox,selectTIFF_G4_FAXfromthe
dropdownlistintheOutputFormatfield.
3.
ChecktheMergeMulti-pagecheckbox.
17
Chapter3-SettingUserOptions
4.
IntheDestinationsectionofthemaindialogbox,selecttheBrowsebutton.Fromthe
SelectDirectoryorFiledialogbox,typetheoutputfilenameastiff_merge_testand
clicktheOpenbutton.Whenthesystemasksifyouwanttocreateanewfolderfortiff_
merge_test,clicktheNobutton.Thefilenamedtiff_merge_testshouldbeselectedin
thedestinationlist.
5.
IntheStatussectionofthemaindialogbox,selecttheRunbuttontoconvertandmerge
thefileintotiff_merge_test.tifwithTIFF_G4_FAXastheoutputformat.
CombiningMultiple Source Files ina Directory intoa
File
Tocombinemultiplesourcefilesinadirectoryintoonefile,followthestepsbelow:
1.
FromtheSourcesectioninthemaindialogbox,selecttheBrowsebutton.Fromthe
SelectDirectoryorFiledialogbox,selectthedirectoryandclicktheOpenbutton.
2.
IntheDestinationsectionofthemaindialogbox,selecttheBrowsebutton.Fromthe
DirectoryorFiledialogbox,selectafileandclicktheOpenbutton.
3.
IntheStatussectionofthemaindialogbox,selecttheRunbutton.Allofthefilesinthe
sourcedirectorywillbemergedintothedestinationdirectorywiththeoutputformat.
Note:
Inthiscase,makesurethattheReplicateOutputSubDir'sboxisnotselected.
Iftheoutputfileisamultiplepagefile,allofthefileswillbecombinedintoonemultiplepagefile.
Theorderofthepagesarearrangedaccordingtothefilenameinthedirectory.Iftheoutput
formatisasinglepageformat,theoutputfilewillbeoverwritten.
Selectingthe Source File Name withthe Filter
Whenyouselectthesourcefile,thefilenamewithfilterisallowed.
Forexample,toconvertonlyfileswiththe.afpextension,dothefollowing:
1.
FromtheSourcesectioninthemaindialogbox,selecttheBrowsebutton.Fromthe
SelectDirectoryorFiledialogbox,typefilenameas*.afpandclicktheOpenbutton.
Whenthesystemasksifyouwanttocreateanewdirectory,clicktheNobutton.
2.
IntheDestinationsectionofthemaindialogbox,selecttheBrowsebutton.Fromthe
DirectoryorFiledialogbox,selectafoldernameorafilenameandclicktheOpen
button.Afilenamewithfilterisnotallowed.
3.
IntheStatussectionofthemaindialogbox,selecttheRunbutton.
18
Chapter3-SettingUserOptions
SelectingLoggingOptions
SnowBatch'sdefaultlognameisSnbLog.txt.ItiswrittentothedirectorywhereSnowBatch
wasinstalledunlessotherwisespecified.Thelogcontainsallconversionprocesses,alongwith
thestartandendtime.YoucanchangethelocationandnameofSnowBatch'sloggingfile.
Youcanspecifyaspecificlognameanddirectory.Tochangethelognameandlocation,typein
thedestinationdirectoryandlognameintheLogNamefieldontheOutputSettingsframeon
themaindialogbox.Forexample,ifyouwantthelogtobewrittentothesnowbatchlog
directory,andthelognametobelog,youwouldtypec:\snowbatchlog\log.
Note:
Alogfileiscreatedforeachfilebeingconverted.
SettingDocument Input andOutput Options
WhenconvertingimagestoPDFformat,youcandictatetheheightandwidthoftheconverted
images.Youcanspecifytheoutputsizeinpoints(1/72ndofaninch),whichisusefulfornon-
standardinputsizes,suchasA4.Byusingthesesettings,youensurethattheoutputimages
arethecorrectsize.
Youcanalsomodifythedocumentinputvariablestospeedupconversion.Forexample,you
canlowertheresolutionandbit-sizeoftheimagetobeconverted.
ChangingDocumentInputSize
SnowBatchhasdefaultdocumentimageinputsizes;200dots-per-inch(DPI)and24bits-per-
pixel(BPP).
Tochangethedocumentinputsize:
1.
ChooseOptions > DocumentInputtodisplaytheDocumentInputOptionsdialog.
2. EntertheDPIandBPP.
3.
ClickOKtoacceptthechanges,orclickDisabletoaborttheoperationwithoutmaking
19
Chapter3-SettingUserOptions
anychanges.
ResettingPDFOptions
OncePDFoptionsarechanged,theystayactiveuntilreset.YoucanresetallPDFoptions
backtotheirdefaultvaluesbychoosingFile > ResetMenuOptions.
ChangingPDFOutputSize
ThedefaultPDFimageoutputsizeis612wideby792high.TosetthePDFoutputsize:
1. ChooseOptions >  PDFOutputtodisplaythePDFOptionsdialog.
2. Entertheheightandwidth(inpoints)ofthePDFoutput.
3. IfyouwanttocreateasearchablePDF,clicktheCreateSearchablePDFbox.
4.
ClickOKtoacceptthechanges,orclickDisabletoaborttheoperationwithoutmaking
anychanges.
ResettingPDFOptions
OncePDFoptionsarechanged,theystayactiveuntilreset.YoucanresetallPDFoptions
backtotheirdefaultvaluesbychoosingFile > ResetMenuOptions.
Settingthe Source File Options
SnowBatchgivesyoutheoptionofmovingsourcefilestoadifferentdirectoryafterconversion
withtheSourceFileOptionsmenuitem.Youalsohavetheoptionofmovingthefailedsource
files.YouwillseeacheckboxnexttotheSourceFileOptionsmenuitemtodenotewhetheror
notthisfeatureisactive.
TousetheSourceFileOptionsmenuitem,followthestepsbelow:
1.
ChooseOptions > SourceFileOptionstodisplaytheSourceFileOptionsdialog.
2.
IntheSendSuccessfulSourceFilestoDirectoryfield,setupthedirectorywhereyou
20
Documents you may be interested
Documents you may be interested