open pdf in new tab c# mvc : How to delete text in pdf file online control SDK system azure .net windows console RMDotNetProgrammersGuide18-part1806

Chapter25-AFPFontMappingFunctions
l
facename
l
pointsize
l
boldattributes
l
italicattributes
Thesnbd_map.fntfileisasimpleASCIItextfile.Eachentryisendedwithacarriagereturnline
feed.Thefollowingaretwosampleentries:
C0BC25I3,Courier,10,0,0
C0CGT12S,TimesNewRoman,14,0,1
Table25.1:Descriptionofasampleentryinthesnbd_map.fntfile
Variable
Description
C0BC25I3
FontresourcenameintheAFPfile.
Courier
Newfacenametomapto.
10
Newsizeinpointsor1/72ofaninch.
0
Boldattribute,0-off,1-on.
0
Italicattribute0-off,1-on.
Color Documents Renderedas Black andWhite  
AFP(MO:DCA),Word,Excel,andPowerPointformatdocumentsareallreadinasblackand
white1-bitperpixelbydefaulttoenhanceperformance.Ifyouwouldliketopreservethecolorin
thesedocuments,youmayuseCIMGLOW_set_document_input(300,24)beforecalling
CIMG_
decompress_
bitmap
()
toreadinthedocuments.Preservingthe24-bitcolorinformation
andusingarelativelyhighresolutionof300DPIwillconsiderablyincreasethememoryrequired
toprocessthedocument,increasethesizeoftheoutputdocumentanddecreaseperformance.
Ifyouhaveamixofmonochromeandcolorpagesthatyouareconvertingandsavingtoanother
format,thenyoumaywanttouseCIMGLOW_
detect_
color
()
toidentifyblackandwhitepages
thatcansafelybeconvertedtoahigherperformance1-bitdeepformat.Thecolorpagesshould
beconvertedtoanoutputformatthatsupportscolor,suchasJPEG.PleaseseeAppendix
B,
Supported
File
Format
fordetailsonwhichformatssupportcolorinformationatdifferentbit-
depths.
CIMGLOW_set_fontmap_path()
ThisfunctiondefinesthepathwhereSnowboundSoftwarewilllookforthefontmappingfile,
snbd_map.fnt.Ifthepathisnotcurrentlyset,RasterMaster.NETlooksforitinthecurrent
directory.Thecurrentdirectoryiswhateverfoldertheprogramiscurrentlyin,usuallywherever
thefilebeingdecompressedislocated.
Syntax
int SNBDAPI CIMGLOW_set_fontmap_path(String *strPath);
181
How to delete text in pdf file online - 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
deleting text from a pdf; acrobat delete text in pdf
How to delete text in pdf file online - 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
online pdf editor to delete text; how to delete text in pdf file
Chapter25-AFPFontMappingFunctions
Remarks
Table25.2:CIMGLOW_set_fontmap_pathFunctionVariables
Variable
Description
strPath
Astringpointertothepathtolookforthesnbd_map.fnt
file.
Thesnbd_map.fntfilewillbeappendedtothepathname.
CIMGLOW_set_fontmap_path("c:\\temp");
Thisvariableislimitedto50bytes.Therefore,thepath
mustbebelow50characters.
Example25.1CIMGLOW_set_fontmap_path
status = simage.CIMGLOW_set_fontmap_path
("C:\\Snowbnd\\FontMap");
Returns
Returnsthestatusofthepathofthefontmappingfile.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_fontmap()
Thisfunctionprogrammaticallysetsfontmapping.
Syntax
int SNBDAPI CIMGLOW_set_fontmap(String *strFontMap, int mapLength);
Remarks
Table25.3:CIMGLOW_set_fontmapFunctionVariables
Variable
Description
strFontMap
Pointertofontmappingdata.Thisisthewholebufferof
datafoundinthefontmapfile,snbd_map.fnt.This
variableoverridesexistingfontmappinginthesnbd_
map.fntfile.
Thefollowingaresomeexamplesofthedatainthis
variable:
C0H400xx90,PrecisionIDPostnetLDEMO,12,0,0
C0BPOSBX,CCodePostnet,10,0,0
182
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
NET read PDF, VB.NET convert PDF to text, VB.NET pages, VB.NET comment annotate PDF, VB.NET delete PDF pages, VB If you want to split PDF file into two or small
how to delete text from a pdf; how to remove highlighted text in pdf
VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.
Online source codes for quick evaluation in VB.NET looking for a solution to conveniently delete one page which supports a variety of PDF file editing features
remove text from pdf preview; how to delete text in a pdf file
Chapter25-AFPFontMappingFunctions
Variable
Description
mapLength
Theintegerlengthoffontmappingdata
Example25.2CIMGLOW_set_fontmap
status = simage.CIMGLOW_set_fontmap
("C0BC25I3,Courier,10,0,0\nC0CGT12S,Arial,14,0,1\n",46);
Returns
Returnsthestatusofthefontmappingdata.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_pdf_flags()
ThisfunctionprogrammaticallysetsPDFflags.
Syntax
int SNBDAPI CIMGLOW_set_pdf_flags(int flags);
Remarks
Table25.4:CIMGLOW_set_pdf_flagsFunctionVariables
Variable
Description
flags
NewflagsforPDF.
Returns
ReturnsthestatusofthePDFflags.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_pdf_fontpath()
Thisfunction]setsthePDFfontpath.
Syntax
int SNBDAPI CIMGLOW_set_pdf_fontpath(String* fontPath);
Remarks
Table25.5:CIMGLOW_set_pdf_fontpathFunctionVariables
183
C# PDF Text Extract Library: extract text content from PDF file in
Free online source code for extracting text from adobe PDF document in C#.NET class. Able to extract and get all and partial text content from PDF file.
acrobat remove text from pdf; pull text out of pdf
VB.NET PDF Text Extract Library: extract text content from PDF
advanced PDF Add-On, developers are able to extract target text content from source PDF document and save extracted text to other file formats through VB
pdf text watermark remover; how to delete text in pdf preview
Chapter25-AFPFontMappingFunctions
Variable
Description
fontPath
ThesourcepathofPDFfontlocatio.
Returns
Returnsthestatusofthefontmappingdata.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_pdfa_fontpath()
ThisfunctionsetsthePDF/Afontlocation.
Syntax
int SNBDAPI CIMGLOW_set_pdfa_fontpath(String* fontPath);
Remarks
Table25.6:CIMGLOW_set_pdfa_fontpathFunctionVariables
Variable
Description
fontPath
PDF/Afontlocation.
Returns
Returnsthestatusofthefontmappingdata.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_pdfa_fontmap()
ThisfunctionsetsPDF/Afontmapping..
Syntax
int SNBDAPI CIMGLOW_set_pdfa_fontmap(String* mapData, int len);
Remarks
Table25.7:CIMGLOW_set_pdfa_fontmapFunctionVariables
Variable
Description
mapData
Fontmappingdatastring.
Len
Lengthoffontmappingstring.
184
VB.NET PDF File Compress Library: Compress reduce PDF size in vb.
size, images size reducing can help to reduce PDF file size effectively will also take up too much space, glyph file unreferenced can Delete unimportant contents
how to edit and delete text in pdf file online; delete text pdf file
C# PDF File Split Library: Split, seperate PDF into multiple files
SharePoint. C#.NET control for splitting PDF file into two or multiple files online. Support to break a large PDF file into smaller files.
delete text from pdf online; how to delete text in pdf document
Chapter25-AFPFontMappingFunctions
Returns
Returnsthestatusofthefontmappingdata.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
185
C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
Ability to remove a range of pages from PDF file. document page deleting library control (XDoc.PDF) can be C#.NET class applications to delete any unnecessary
how to edit and delete text in pdf file; delete text pdf files
VB.NET PDF File Split Library: Split, seperate PDF into multiple
Split PDF file into two or multiple files in ASP.NET webpage online. Support to break a large PDF file into smaller files in .NET WinForms.
delete text pdf preview; erase text from pdf file
Chapter26-HousekeepingFunctions
Chapter 26 - Housekeeping Functions
ThischapterdescribestheRasterMaster.NEThousekeepingfunctions.
CIMG_delete_bitmap()
Thisfunctionremovestheimagefrommemorywhenyouarefinishedwithitorwhen
terminatingtheapplication.
Afteracalltothisfunctiontheimagehandleisnolongervalid.Thiscallshouldbeusedforeach
imagehandlegeneratedbythelibrary.
YoucanfindthesamplesforusingthisfunctioninthefollowingdirectoryC:\Program
Files\Snowbound Software\RasterMaster® .NET Evaluation\Net\Samples.
Thisfunctionisusedinthefollowingsamples:
l
Annaction
l
Annotation
l
DocClean
l
Thumbnail
l
WPF
Image
Note:
Eachcalltoacquireanimagebydecompressingorscanningwilldeleteanyprevious
imagememoryaslongasyouareusingthesameSnowboundobject.Whenyouare
finishedwithanobjectandarenolongerusingityoumustcalltheIMG_delete_
bitmap()functiontofreeupmemoryassociatedwiththeimageheaderanddata.
Syntax
int SNBDAPI CIMG_delete_bitmap(void);
Returns
Returnsthestatusofthedeletebitmapoperation.Avalueof0or1indicatessuccess.Any
valuelessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
for
alistoferrorcodes.
**GLOBALFUNCTION**
186
Chapter26-HousekeepingFunctions
CIMG_delete_bitmap_keep()
ThisfunctioncanbeusedinconjunctionwithCIMG_create_handle_keep()todeleteall
internallibrarystructuresanddata.ItwillnotdeletethepointerpassedtoCIMG_create_
handle_keep().SeeCIMG_
create_
handle_
keep
()
formoreinformation.
Syntax
int SNBDAPI CIMG_delete_bitmap_keep(void);
Returns
ThisfunctionreturnsaDDBorold-styleWindowsbitmap(HBITMAPorDeviceDependent
Bitmap).Theoriginalimageisnotaltered.
CIMG_unload_plugins()
ThisglobalfunctionunloadsallRasterMaster.NETpluginsfrommemory.Theseplugins
includesnbdpl1.dll(theLZWplugin),pdfplug.dll(thePDFplugin),abic32.dll(the
ABICplugin),andmore.
Syntax
int SNBDAPI CIMG_unload_plugins(void);
Returns
ReturnstheunloadedRasterMaster.NETpluginsfrommemory.Anyvaluelessthanzeroisa
Snowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_bitmap_name()
Thisfunctionsetsatextstringsuchasimagenameorauthorfortheimage,iftheformat
supportsit.Eachbuffershouldbeatleast200bytes.
Syntax
int SNBDAPI CIMGLOW_set_bitmap_name(String *strName, String
*strDate);
Remark
Table26.1:CIMGLOW_set_bitmap_nameFunctionVariables
187
Chapter26-HousekeepingFunctions
Variable
Description
strName
Stringtosetnameorauthorforanysubsequentimagesto
besaved
strDate
Stringtosetdateforanysubsequentimagestobesaved
Returns
Returnsthepointertomemory.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
Example26.1CIMGLOW_set_bitmap_name
C#:status = simage.CIMGLOW_set_bitmap_name(strBMName,
strDateInfo);
CIMGLOW_set_tiff_indexing()
CIMGLOW_set_tiff_indexing()
ThisfunctionsetstheTIFFindexingpage.
Syntax
int SNBDAPI CIMGLOW_set_tiff_indexing(int pages);
Remark
Table26.2:CIMGLOW_set_tiff_indexingFunctionVariables
Variable
Description
pages
Theindexingpagetoset
Returns
ReturnsthestatusofTIFFindexingpage.AnyvaluelessthanzeroisaSnowbounderrorcode.
SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
188
Chapter27-DocCleanFunctions
Chapter 27 - DocClean Functions
ThischapterdescribestheRasterMaster.NETDocCleanfunctions.DocCleanisanoptional
extensionofRasterMaster.NETthatprovidesagroupoffunctionsthatareusefulforcleaning
upscannedcolor,grayscaleandblackandwhiteimages.
CIMG_auto_orient()
Thisfunctionreturnstheorientationoftheimage.Thevalueis90or0.Ifthevalueis90,you
maywanttofixtheimagebyusingCIMG_rotate_bitmap().SeeCIMG_
rotate_
bitmap
()
formore
information.
Syntax
int SNBDAPI CIMG_auto_orient(int32 *p_angle);
Remark
Table27.1:CIMG_auto_orient FunctionVariables
Variable
Description
p_angle
Anglereturnedasthecurrentorientation.Numberofpixels
toaddtotheautocroprectangle.Either90or0isreturned.
Returns
Returnsthestatusoftheautoorientdetectionoperation.Avalueof0indicatessuccess.Any
valuelessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
for
alistoferrorcodes.
CIMG_deskew_bitmap()
Whenapageisscannedinitmaybeskewedtosomedegree.Thisfunctionusestheangle
returnedfromCIMG_
get_
deskew_
angle
()
todotherotation.Anangleof0meansthereisno
skew.Iftheangleisnotzero,youcanprovidethedeskewanglereturnedfromCIMG_deskew_
bitmaptorotatethepagesoitnolongerappearsskewed.
Note:
WhenacallismadetoCIMG_deskew_bitmap,theinternalSnowboundimageobjectis
storedinmemoryforviewing.Thefunctionneedstobesavedtothelibraryforthe
changetobepermanent.
Syntax
int SNBDAPI CIMG_deskew_bitmap(int angle);
189
Chapter27-DocCleanFunctions
Remark
Table27.2:CIMG_deskew_bitmapFunctionVariable
Variable
Description
angle
Anglevalueset.
Returns
SnowboundErrorCode.AnyvaluelessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
Example27.1CIMG_deskew_bitmap
nRes = snbdObj.CIMG_deskew_bitmap(nAngle);
CIMG_despeckle_bitmap()
Thisfunctionperformsafunctionontheimagetoremovesmallspecksornoise.
Note:
WhenacallismadetoCIMG_despeckle_bitmap(),theinternalSnowboundimage
objectisstoredinmemoryforviewing.Thefunctionneedstobesavedtothelibraryfor
thechangetobepermanent.
Syntax
int SNBDAPI CIMG_despeckle_bitmap(int quality);
Remark
Table27.3:CIMG_despeckle_bitmapFunctionVariable
Variable
Description
quality
Setsthecoarsenessoftheamountofdatatobefilteredor
removed.
Qualityfactor1-100
1=Removeonlysinglepixels
100=Removeslargeblackareas
Returns
Returnsthestatusofthedespeckleoperation.MayreturnaFORMAT_NOT_ALLOWEDerror
messagefor4or8-bitcolorpaletteimages.Avalueof0indicatessuccess.Anyvaluelessthan
190
Documents you may be interested
Documents you may be interested