c# pdf reader : Delete page pdf file SDK application API .net windows web page sharepoint SnowBatchUsersGuide7-part183

AppendixB-SnowboundErrorCodes
General Status/Error Codes
TableB.3:GeneralStatus/ErrorCodes
Error
Description
DELETE_ERROR
Theimageinmemorycannotberemoved.
DISPLAY_ERROR
Anyproblemswithdisplayinganimagewillreturn
thiserrorcode.
IMAGE_NOT_AVAILABLE
Noimagedataisavailabletodomanipulationson.
NOT_VALID
ThisisreturnedifaparameterpassedintoanAPIis
notvalid.
SNOWBND_API_NOT_AVAILABLE
ThisisreturnedifanAPImethodisnot
implementedinthecurrentbuild.
SNOWBND_ERROR
GeneralAPIerrorcodeofanunsuccessfulaction.
SNOWBND_OK
GeneralAPIstatusofasuccessfulaction.
SYSTEM_CRASH
ThisisreturnedwhenaCriticalExceptionis
thrown.
SnowBatchSystem Errors
TableB.4:SnowBatchSystemErrors
SystemError
Description
SYSTEMERROR:SourceParameterNot
Valid!
Theinternalsourceparameterstringthatis
generatedandpassedatconversiontimeiseither
missingorcorrupt.PleasecontactSnowbound
Software.
SYSTEMERROR:DestinationParameter
NotValid!
Theinternaldestinationparameterstringthatis
generatedandpassedatconversiontimeiseither
missingorcorrupt.PleasecontactSnowbound
Software.
SYSTEMERROR:FileNotFound!
Afilewassearchedforbutcouldnotbefound.It
wasprobablydeleted.Checktoseeifthefileis
availablefromthe<path>/<filename>showninthe
outputlog.Ifthefileisinthegivendirectory/path
thencontactSnowboundSoftware.
SYSTEMERROR:*SomeMethodName()
*
Defaultunknownsystemerror.Pleasecontact
SnowboundSoftware.
SnowBatchErrors
SnowboundError
Description
SNOWBOUNDERROR:Decompress
Error!
Internalerrorwhentryingtodecompressanimage.
PleasecontactSnowboundSoftware.
71
Delete page pdf file - remove PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Provides Users with Mature Document Manipulating Function for Deleting PDF Pages
delete a page in a pdf file; add or remove pages from pdf
Delete page pdf file - 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 pdf pages online; acrobat remove pages from pdf
AppendixB-SnowboundErrorCodes
SnowboundError
Description
SNOWBOUNDERROR:SaveError!
Internalerrorwhentryingtosaveanimage.Please
contactSnowboundSoftware.
ERROR:DecompressError!Status=#
Internalerrorpassedtothelogforreview.Please
lookatTable
B-
1
todeterminewhatthenegative
valuerepresents.Usuallytheresultofnothaving
theproperplug-inoption,acorruptimage,oran
imagewasreadbutnotrecognized.
ERROR:SaveErrorDuetoMissing
OutputString!
Errorcausedbyacorruptormissingoutputstring
usedtocreateanewimagefile.Pleasecontact
SnowboundSoftware.
ERROR:SaveError!Status=
Internalerrorpassedtothelogforreview.Please
lookatTable
B-
1
todeterminewhatthenegative
valuerepresents.Usuallymeansthattheformat
youaresavingtodoesnotsupportthebitdepthof
theinputimage;thusextraprocessingisneededto
converttheimage.
LogError
Errorgeneratinglogfile,displayedoutputstatus
window.Checkpath/filenameoflogfiletoseeif
directoryexists.Itdirectoryexists,contact
SnowboundSoftware.
SnowBatchCautions
TableB.5:SnowBatchCautions
Caution
Description
SNOWBOUNDCAUTION:PageCount
Error!
Errorwhentryingtoreadthenumberofpagesof
thesourceimage.SnowBatchwillattemptto
convertonlythefirstpageoftheimagefile.Please
contactSnowboundTechnicalsupportat
http://support.snowbound.com
.
SNOWBOUNDCAUTION:Memory
ManagementError!
Errorwhentryingtofreeupinternallystoredimage
data.Thiscouldcausememoryleaksandcould
causefuturememoryproblems.Thiswillbe
ignoredwhenprocessingimagesbutplease
contactSnowboundTechnicalsupportat
http://support.snowbound.com
.
SNOWBOUNDCAUTION:TotalPage
CountError!
Errorwhentryingtoreadthenumberofimagesin
theoutputfile.Thiserrorwillbenotedbutdoesnot
stoptheconversionprocess.Pleasecontact
SnowboundTechnicalsupportat
http://support.snowbound.com
.
SNOWBOUNDCAUTION:PDFInput
Error!
ErrorwhentryingtosetthePDFinputparameters;
thevaluesmaybecorruptorignored.Thisdoesnot
stoptheconversionprocess.Pleasecontact
SnowboundTechnicalsupportat
72
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
C# File: Merge PDF; C# File: Split PDF; C# Page: Insert PDF pages; C# Page: Delete PDF pages; C# Read: PDF Text Extract; C# Read: PDF
delete pdf pages; delete page in pdf document
VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
your PDF document is unnecessary, you may want to delete this page adding a page into PDF document, deleting unnecessary page from PDF file and changing
cut pages out of pdf online; delete page pdf acrobat reader
AppendixB-SnowboundErrorCodes
Caution
Description
http://support.snowbound.com
.
SNOWBOUNDCAUTION:PDFOutput
Error!
ErrorwhentryingtosetthePDFoutput
parameters;thevaluesmaybecorruptorignored.
Thisdoesnotstoptheconversionprocess.Please
contactSnowboundTechnicalsupportat
http://support.snowbound.com
.
CAUTION:PageCountError!
Internalerrorwhentryingtoreadthenumberof
pagesofthesourceimage.SnowBatchwill
attempttoconvertonlythefirstpageoftheimage
file.Thisdoesnotstoptheconversionprocess.
CAUTION:TotalPageCountError!
Errorwhentryingtoreadthenumberofimagesin
theoutputfile.Thiserrorwillbenotedbutdoesnot
stoptheconversionprocess.
CAUTION:PDFInputError!
ErrorwhentryingtosetthePDFinputparameters.
ThePDFinputvalueswillbeignored.Thisdoesnot
stoptheconversionprocess.
CAUTION:PDFOutputError!
ErrorwhentryingtosetthePDFoutput
parameters.ThePDFoutputvalueswillbeignored.
Thisdoesnotstoptheconversionprocess.
73
C# PDF Page Insert Library: insert pages into PDF file in C#.net
page processing functions, such as how to merge PDF document files by C# code, how to rotate PDF document page, how to delete PDF page using C#
delete pages on pdf online; copy pages from pdf to another pdf
C# PDF File Split Library: Split, seperate PDF into multiple files
Besides, in the process of splitting PDF document, developers can also remove certain PDF page from target PDF file using C#.NET PDF page deletion API.
delete pages of pdf preview; delete pdf pages in preview
AppendixC-Troubleshooting
Appendix C - Troubleshooting
Thisappendixdescribessolutionstoissuesthatyoumayrunacrosswheninstallingandusing
SnowBatch.
ReceivinganError Code WhenConvertinga Document
Ifyoureceiveanerrorcodewhentryingtoload,saveorconvertadocumentwithSnowBatch,
pleasecheckthelistoferrorcodesandtheirdescriptionsinAppendix B,
Snowbound
Error
Codes
todeterminethesourceoftheissue.Ifyoustillcannotresolvetheissueafterlookingat
thelistoferrorcodes,pleasesubmitasupportticketathttp://support.snowbound.com
and
includetheerrorcodeandthedocumentthatyouweretryingtoload,saveorconvertwhenyou
gottheerrormessage.
Output Document Differs from Original Document
Whenyouconvertadocumentandtheoutputdocumentisdifferentfromtheoriginaldocument,
pleasecreateasupportticketathttp://support.snowbound.com
andattachthedocumentalong
withascreenshotoftheoutputdocumentinSnowBatch.Someexamplesofthedifferences
thatmayoccurincludemissingdata,missingtext,distortedgraphicsordisplayinganincorrect
ordifferentfont.WecantestthedocumentwiththelatestreleaseofSnowBatchwhich
containsfixeswhichmayresolveyourissue.
Output Document Has MuchLarger File Size thanthe
Original Document
Thefilesizeofyouroutputdocumentmaybemuchlargerthantheoriginaldocumentifyouare
convertingormergingaPDF,Worddocumentorotherdocumentintoarasterimage.
Appendix A,
Supported
File
Formats
showsalistoffileformatsandtheirsupportedbitdepths.
Todecreasethesizeofyouroutputdocument,setthebitdepthBPP(bitsperpixel)valueto
grayscale(8-bit)orblackandwhite(1-bit).TosettheBPPvalue,selectOptions>Document
InputtodisplaytheDocumentInputOptionsdialog.IntheBPPfield,enter8for8-bitor1for1-
bit.
Toalsodecreasethefilesize,reducetheresolutionbyloweringtheDPI(dotsperinch)value.
TosettheDPIvalue,selectOptions>DocumentInputtodisplaytheDocumentInput
Optionsdialogbox.IntheDotsPerInch(DPI)field,enteralowervaluefortheDPI.Pleasesee
Setting
Document
Input
and
Output
Options
formoredetailedinformationonsettingdocument
inputoptions.Ifyoutrytheabovesolutionandtheoutputdocumentisstillmuchlargerthanthe
originaldocument,pleasecreateasupportticketathttp://support.snowbound.com
.
74
VB.NET PDF File Compress Library: Compress reduce PDF size in vb.
Since images are usually or large size, images size reducing can help to reduce PDF file size effectively. Delete unimportant contents Embedded page thumbnails.
cut pages from pdf reader; delete a page from a pdf file
VB.NET PDF Page Insert Library: insert pages into PDF file in vb.
using RasterEdge.XDoc.PDF; Add and Insert a Page to PDF File Using VB. doc2.Save( outPutFilePath). Add and Insert Blank Page to PDF File Using VB.
delete pages from pdf preview; delete a page from a pdf online
AppendixC-Troubleshooting
Output Document Has MuchLower Quality thanthe
Original Document
Theoutputqualityofyouroutputdocumentmaybemuchlowerthantheoriginaldocumentif
youconvertahighqualityimagetoalowqualityoutputsuchasTIFF_G4_FAX.Pleasenote
thattheTIFF_G4_FAXformatisa1-bitformatandwillconvertyourimagetoblackandwhite.If
youneedcoloroutput,pleasesetSnowBatchtoconverttoTIFF_LZW.Toimprovethequality
ofyouroutputdocument,setthebitdepthBPP(bitsperpixel)valuetograyscale(8-bit)orcolor
(24-bit).TosettheBPPvalue,selectOptions>DocumentInputtodisplaytheDocument
InputOptionsdialog.IntheBPPfield,enter8for8-bitor24for24-bit.
Toalsoimprovethequalityofyouroutputdocument,increasetheresolutionbyincreasingthe
DPI(dotsperinch)value.TosettheDPIvalue,selectOptions>DocumentInputtodisplay
theDocumentInputOptionsdialogbox.IntheDotsPerInch(DPI)field,enteralowervaluefor
theDPI.PleaseseeSetting
Document
Input
and
Output
Options
formoredetailedinformation
onsettingdocumentinputoptions.Ifyoutrytheabovesolutionandtheoutputqualityisstill
muchlowerthantheoriginaldocument,pleasecreateasupportticketat
http://support.snowbound.com
.
Output Document Displays Incorrect or Missing
Characters
Whenyouconvertadocument,theoutputdocumentmaydisplayincorrectormissing
charactersifthedocumentcontainsspecialcharacterswhicharecommonlyfoundinNon-
EnglishlanguagessuchasChinese,JapaneseandThai.Makesurethatyoursystemis
properlyconfiguredtosupportthesecharacters.Formoreinformation,pleaseseeSnowbound
Software’sFont
Configuration
Guide
.
ImprovingPerformance
Themorecolorsthereareintheinputoroutputimage,thebiggerthefileandtheslowerthe
processingspeed.Toreducethenumberofcolorsandimproveperformance,setthebitdepth
BPP(bitsperpixel)valuetograyscale(8-bit)orblackandwhite(1-bit).TosettheBPPvalue,
selectOptions>DocumentInputtodisplaytheDocumentInputOptionsdialog.IntheBPP
field,enter8for8-bitor1for1-bit.
ToalsoimproveperformanceinSnowBatch,reducetheresolutionbyloweringtheDPI(dots
perinch)value.TosettheDPIvalue,selectOptions>DocumentInputtodisplaythe
DocumentInputOptionsdialogbox.IntheDotsPerInch(DPI)field,enteralowervalueforthe
DPI.PleaseseeSetting
Document
Input
and
Output
Options
formoredetailedinformationon
settingdocumentinputoptions.
Pleasenotethatthereisalwaysatradeoffbetweenperformanceandquality.Toimprove
performance,thequalityoftheimagemaybeless.Thisistruewheneverworkingwithany
imagingsoftware.
75
VB.NET PDF File Split Library: Split, seperate PDF into multiple
The VB.NET PDF document splitter control provides VB.NET developers an easy to use solution that they can split target multi-page PDF document file to one-page
delete pages in pdf reader; delete page on pdf file
C# PDF File Compress Library: Compress reduce PDF size in C#.net
Since images are usually or large size, images size reducing can help to reduce PDF file size effectively. Delete unimportant contents Embedded page thumbnails.
delete page from pdf file online; add and remove pages from pdf file online
AppendixC-Troubleshooting
Receivinga -3 CORRUPTED_FILEError code
Ifyoureceivea-3CORRUPTED_FILEerrorcode,theinputdocumentmayhavebecome
corrupt.Toresolvethisissue,openthedocumentinaneditorandwriteitbackoutagain.
IfyoureceiveanerrorcodewhentryingtoconvertadocumentwithSnowBatch,youcancheck
thelistoferrorcodesandtheirdescriptionsinAppendix B,
Snowbound
Error
Codes
to
determinethesourceoftheissue.
SomePDFdocumentgeneratorsdonotproperlyspecifyalloftheinformationneededina
document.ToresolvethisissueinPDFdocumentsthataregeneratedbycustomapplications,
openthedocumentinAdobeAcrobatandthensaveit.Youshouldthenbeabletoprocessthe
newlysaveddocumentinSnowBatch.
Receivinga -21 PIXEL_DEPTH_UNSUPPORTEDError
Code
The-21PIXEL_DEPTH_UNSUPPORTEDerrormayoccurwhenyoutrytosaveanimagetoa
formatthatdoesnotsupporttheimage’sbitsperpixel.Thiscanoccurwhenyoutrytoconvert
toTIFF_G3_FAXwhichisthedefaultoutputformatforSnowBatch.Topreventthe-21PIXEL_
DEPTH_UNSUPPORTEDerror,youcansetSnowBatchtoconverttotheTIFF_G4_FAXor
TIFF_LZWformat.PleasenotethattheTIFF_G4_FAXformatisa1-bitformatandwillconvert
yourimagetoblackandwhite.Ifyouneedcoloroutput,pleasesetSnowBatchtoconvertto
TIFF_LZW.
Note:
TIFF_LZWisaloss-lesscompressionformat.Therefore,itwillproduceamuchlarger
filesizethancomparablecoloroutputformatssuchasPDF,PNGorJPEG.
Formoreinformationonformatcompatibilityandpossibleconversionerrors,pleaseseethe
Format
Compatibility
section.Formoreinformationontheread/writecapabilitiesofall
supportedfileformats,pleaseseeAppendix A,
Supported
File
Formats
.Foralistoferrorcodes
andtheirdescriptions,pleaseseeAppendix B,
Snowbound
Error
Codes
.
Searchingfor Text ina SnowboundSoftware Generated
PDF
IfyouarehavingtroublefindingtextinaSnowboundSoftwaregeneratedsearchablePDF,
pleaseuseAdobeReaderversion9.4todothesearch.
76
AppendixC-Troubleshooting
DeterminingMemory Requirements
Theamountofmemoryrequiredtodisplayadocumentmaybesignificantlylargerthanthesize
ofthedocumentthatisstoredondisk.Justlikearoadmap,thedocumentisfoldedupand
compressedwhenitisstored.Inordertoseethedocument,itmustbeunfolded
(decompressed)andspreadoutsoyoucanseethewholemap.Themaptakesupmuchmore
roomwhenopenforviewing.Thesameistrueofonlinedocuments.Whenadocumentisopen,
ablackandwhitelettersizepageat300dpitakesroughly1MBofmemorytodisplayanda
colorpagetakes25MB.
Generally,higherqualitydocumentsrequiremorememorytoprocess.SnowboundSoftware
doesnothaveaone-size-fits-allrecommendationformemorybecauseourcustomershave
suchavarietyofdocumentsanddifferenttolerancesforthelevelofoutputquality.However,
youcantrydoublingthememoryavailabletoseeifthatresolvestheissue.Keepincreasing
memoryuntilyoustopgettingoutofmemoryerrors.Ifyouhitaphysicalorfinanciallimiton
memory,thenyoucandothefollowing:
l
Decreasethequalityoftheimagesrequestedbydecreasingbitsperpixel,the
resolution,orthesize.
l
Decreasethenumberofdocumentsyouhaveopenatanyonetime.
Tocalculatetheamountofmemoryrequiredforanimage,youwillneedtoknowthesizeofthe
imageinpixelsandthenumberofbitsperpixelintheimage(blackandwhite=1,grayscale=8,
color=24).Ifyoudonotknowtheheightorwidthinpixels,butyoudoknowthesizeininches
andthedpi(dotsperinch)oftheimage,thenyoucancalculatethesizeinpixelsas(width_in_
inches*dots_per_inch)=width_in_pixels.
Tocalculatetheamountofmemory(inbytes),multiplytheheight,widthandnumberofbitsper
pixel.Then,divideby8toconvertfrombitstobytes.Seethefollowingexample:
(height_in_pixels*width_in_pixels*bits_per_pixel)/8=image_size_in_bytes
TableC.1:MemoryRequirementsBasedonImageSize
ImageSize
RequiredMemory
24-bitperpixel,640x480image
640*480*(24/8)=921600bytes
1-bitperpixel,8.5"x11"image,at300dpi
(2550pixelsby3300pixels)
2550*3300*(1/8)=1051875bytes
24-bitperpixel,8.5"x11"image,at300dpi
(2550pixelsby3300pixels)
2550*3300*(24/8)=25245000bytes(25
megabytes)
77
Index: -b–CANT_CREATE_FILEerrorcode
Index
-
-b41
-d39
-e40
-f 40
-i 39
-l 40
-m 40
-n40
-o39
-p40
-r40
-R 40
-s 39
-t 41
-u41
-wm 41
-x 40
-X 41
-y 40
A
ABIC 53
AFP 54
application
closing12
starting11
ASCII 53-54
filterbitlevelsupport 53
AUTOFEED_FAILEDerrorcode70
B
BAD_DISPLAY_AREAerrorcode68
BAD_HANDLEerrorcode68
BAD_RETURNerrorcode68
BAD_STRINGerrorcode68
batchconversion
starting33
benefits
SnowBatch9
BMP 54
BMP_UNCOMPRESSED 54
BPP 74-75
BRK 54
C
CALS 54
CANT_CREATE_FILEerrorcode68
78
Index: CANT_FIND_TWAIN_DLLerrorcode–CORRUPTED_FILEerrorcode
CANT_FIND_TWAIN_DLLerror
code69
CCITT_G354
CCITT_G3_FO54
CCITT_G454
CCITT_G4_FO54
CFF 54
CIFF 54
CIMS 55
CLIP 55
closing
application12
COD 55
combiningmultiplefiles 44
commandline
options 38
commandlineexample
customextensions 45
loggingoptions 45
moresourcethandestination
directories 43
multiplesourceanddestination42
onefileindirectory 41
onesourcedirectory 38
outputformat 43
PDFoptions 45
splittingmulti-pagefiles 44
compatible
formats 36
COMPRESSION_NOT_
SUPPORTEDerrorcode69
continue
conversion34
convention
outputfiles 12
conversion
problems 37
start 33
stopping34
convert
pause34
usingcommandline38
converter
cancel 35
pause34
resume34
CORRUPTED_FILE
errorcode76
CORRUPTED_FILEerrorcode68
79
Index: customextension–EPS
customextension40
customextensions
example45
CUT 55
D
DCS 55
DCX 55
definition
destinationdirectory 32
destinationformat 30
sourcedirectory 31
deletedestinationfilewhenconversion
erroroccurs 41
deletesourcefileafterconversion40
DELETE_ERRORerrorcode71
destination
directorydefined32
outputextension31
destinationdirectory 39
destinationfile
selecting33
destinationformat
defined30
select 30
DIB 55
DICOM 55
directory
selectingdestination33
directoryforproblemsourcefiles 41
directoryforsuccessfulsource
files 41
directorystructure
maintaining30
DISK_FULLerrorcode68
DISK_READ_ERRORerrorcode68
DISPLAY_ERRORerrorcode71
DLL_NOT_LOADEDerrorcode69
DOC 55
documentinput 39
DOCX 55
DPI 74-75
DWG56
DXF 56
E
EMAIL56
ENERAL_STATUS.IMAGE_NOT_
AVAILABLE 70
EPS 56
80
Documents you may be interested
Documents you may be interested