open pdf in new tab c# mvc : How to remove text watermark from pdf application software tool html windows asp.net online RMDotNetProgrammersGuide20-part1809

Chapter28-ImageProcessingFunctions
Returns
Returnsthestatusofthecreatethumbnailoperation.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_deskew_bitmap()
ThisfunctionusestheanglereturnedfromCIMG_get_deskew_angletodotherotation.This
allowsangledetectiontobeseparatefromtheactualrotationincasetheangleis0andno
rotationisneeded.SeeCIMG_
get_
deskew_
angle
()
formoreinformation.
Note:
WhenacallismadetoCIMG_deskew_bitmap,theinternalSnowboundimageobject
isstoredinmemoryforviewing.Thefunctionneedstobesavedtothelibraryforthe
changetobepermanent.
Syntax
int SNBDAPI CIMG_deskew_bitmap(int angle);
Remark
Table28.6:CIMG_deskew_bitmapFunctionVariable
Variable
Description
angle
Angleindegreesbywhichtorotateimage
Returns
Returnsthestatusofthedeskewbitmapoperation.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_despeckle_bitmap()
Thisfunctionisanoiseremovalalgorithm.
Note:
WhenacallismadetoCIMG_despeckle_bitmap,theinternalSnowboundimage
objectisstoredinmemoryforviewing.Thefunctionneedstobesavedtothelibraryfor
thechangetobepermanent.
Syntax
int SNBDAPI CIMG_despeckle_bitmap(int value);
201
How to remove text watermark 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 from pdf file; delete text from pdf
How to remove text watermark 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; how to erase pdf text
Chapter28-ImageProcessingFunctions
Remark
Table28.7:CIMG_despeckle_bitmapFunctionVariable
Variable
Description
value
Qualityfactor1-100
1=Removeonlysinglepixels
100=Removeslargeblackareas
Returns
Returnsthestatusofthedespecklebitmapoperation.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_dib_to_ddb()
ThisfunctionreturnsaDDBorold-styleWindowsbitmap(HBITMAPorDeviceDependent
Bitmap).Theoriginalimageisnotaltered.
Syntax
DDB SNBDAPI CIMG_dib_to_ddb(int width, int height);
Remark
Table28.8:CIMG_dib_to_ddbFunctionVariables
Variable
Description
width
WidthofdesiredDDB
height
HeightofdesiredDDB
Returns
DDBorold-styleWindowsbitmap(HBITMAPorDeviceDependentbitmap).Anyvalueless
thanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistof
errorcodes.
Example28.1CIMG_dib_To_ddb
C#:IntPtr HBmp = simage.CIMG_dib_to_ddb(panImage.Width,
panImage.Height);
202
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
delete text pdf acrobat; pull text out of pdf
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
delete text pdf; how to delete text in pdf file
Chapter28-ImageProcessingFunctions
CIMG_dib_to_runs()
ThisfunctionconvertstheinternallibraryimageformatfromWindowsDIBformattoa
Snowboundrunsformat.Thisonlyworksfor1-bitbi-levelimages.
Syntax
int SNBDAPI CIMG_dib_to_runs(void);
Returns
ReturnsthestatusoftheSnowboundrunsformat.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_erase_rect()
Thisfunctiondrawsthespecifiedcolorinsideoroutsidetherectanglepassedin.Itisusedfor
blackbordererasingortopermanentlyfillasolidcolorinsideanimage.
Syntax
int SNBDAPI CIMG_erase_rect(int x, int y, int width, int height,
int color, int in_outflag);
Remark
Table28.9:CIMG_erase_rectFunctionVariables
Variable
Description
x
Xstartofrectangleinpixels
y
Ystartofrectangleinpixels
width
widthoftherectangleinpixels
height
heightoftherectangleinpixels
color
Colortodraw
in_outflag
1=Drawinsiderectangle
0=Drawoutsiderectangle
Returns
Returnsthestatusoftheeraserectangleoperation.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_flip_bitmapx()
Thisfunctionswapshorizontalpixelstoproduceamirrorimageoftheoriginalimage.It
permanentlychangestheimageinmemory.
203
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
acrobat delete text in pdf; remove text from pdf reader
C# PDF metadata Library: add, remove, update PDF metadata in C#.
Add metadata to PDF document in C# .NET framework program. Remove and delete metadata from PDF file. Also a PDF metadata extraction control.
how to edit and delete text in pdf file online; how to delete text in pdf acrobat
Chapter28-ImageProcessingFunctions
YoucanfindthesamplesforusingthisfunctioninthefollowingdirectoryC:\Program
Files\Snowbound Software\RasterMaster® .NET Evaluation\Net\Samples.
ThisfunctionisusedintheWeb
Image
Viewer
Component
sample.
Syntax
int SNBDAPI CIMG_flip_bitmapx(void);
Returns
Returnsthestatusoftheflipbitmapxoperation.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_flip_bitmapy()
Thisfunctionswapsverticalpixelstoproduceamirrorimageoftheoriginalimage.It
permanentlychangestheimageinmemory.
YoucanfindthesamplesforusingthisfunctioninthefollowingdirectoryC:\Program
Files\Snowbound Software\RasterMaster® .NET Evaluation\Net\Samples.
ThisfunctionisusedintheWeb
Image
Viewer
Component
sample.
Syntax
int SNBDAPI CIMG_flip_bitmapy(void);
Returns
Returnsthestatusoftheflipbitmapyoperation.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_get_deskew_angle()
Thisfunctiondetectstheskewanglefor1-bitimagesbycheckingallanglesstartingatthestart
angleandcontinuinginonedegreeincrementsuntilthestopangleisreached.Theexample
belowuses-20and20forstartingandstoppingangles.Yourapplicationmaywanttocheckfor
onlypositiveornegativeangles.
Syntax
int SNBDAPI CIMG_get_deskew_angle(int *angle, int start_degree, int
end_degree);
Remark
Table28.10:CIMG_get_deskew_angleFunctionVariables
204
C# PDF url edit Library: insert, remove PDF links in C#.net, ASP.
Able to insert and delete PDF links. Able to embed link to specific PDF pages. Easy to put link into specified position of PDF text, image and PDF table.
how to delete text from a pdf document; deleting text from a pdf
C# PDF File Compress Library: Compress reduce PDF size in C#.net
NET framework. Remove bookmarks, annotations, watermark, page labels and article threads from PDF while compressing. C# class demo
how to edit and delete text in pdf file; how to delete text from pdf reader
Chapter28-ImageProcessingFunctions
Variable
Description
angle
Pointertointegertoreceivedeskewangle
start_degree
Startingangleforwhichtocheck
end_degree
Endingangleforwhichtocheck
Returns
Returnsthestatusofthegetdeskewangleoperation.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_get_profile()
Thisfunctiongetsaninputprofilefromanimagefile.ICCprofilesmaybeembeddedinthe
image.Inordertomakeanexactmatch,colorprofilesarecreatedsothattheidenticalcolor
valuescanbeprintedordisplayed.
Supportedfileformatsinclude:TIFF,JPEG,PICT,PDF,GIFandPNG.Theseformatscan
containanembeddedcolorprofile.
Syntax
char * SNBDAPI CIMG_get_profile(String *strFile, String
**strBuffer, int page, Int32 *ptrLength);
Remarks
Table28.11:CIMG_get_profileFunctionVariables
Variable
Description
strFile
Filenamefortheimagetobereadinfromtheprofile.
strBuffer
Stringbufferoftheprofile.
page
Pagenumbertobereadinfromtheprofile.
ptrLength
Lengthofthebuffer.
Returns
Returnsthecharacterbuffer.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_histogram_equalize()
Thisfunctionisahistogramequalizationwhichimprovesthedynamicrangeof8or16-bitgray
scaleimagesbyremappingpixelsbasedonaprobabilityalgorithm.
Syntax
int SNBDAPI CIMG_histogram_equalize(void);
205
C# PDF Convert to Word SDK: Convert PDF to Word library in C#.net
key. Quick to remove watermark and save PDF text, image, table, hyperlink and bookmark to Word without losing format. Powerful components
how to delete text in a pdf file; delete text pdf preview
C# PDF Text Redact Library: select, redact text content from PDF
Text: Delete Text from PDF. Text: Replace Text in PDF. Image: Remove Image from PDF Page. Image: Copy, Paste Edit, Delete Metadata. Watermark: Add Watermark to PDF
how to erase text in pdf online; how to erase in pdf text
Chapter28-ImageProcessingFunctions
Returns
Returnsthestatusofthehistogramequalizeoperation.Anyvaluelessthanzeroisa
Snowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_invert_bitmap()
Thisfunctionchangeseachbitintheimagefrom0to1orfrom1to0.Thisworkswellfor
invertingdocumentswhichhaveablackbackground.Thispermanentlychangestheimagein
memory.
Syntax
int SNBDAPI CIMG_invert_bitmap(void);
Returns
Returnsthestatusoftheinvertbitmapoperation.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_merge_annotation()
Thisfunctionmergesacurrentannotationtoanimageobject.
YoucanfindthesamplesforusingthisfunctioninthefollowingdirectoryC:\Program
Files\Snowbound Software\RasterMaster® .NET Evaluation\Net\Samples.
ThisfunctionisusedintheWPFAnnotation_
CSHARP
sample.
Syntax
int SNBDAPI CIMG_merge_annotation(int iWidth, int iHeight);
Remark
Table28.12:CIMG_merge_annotationFunctionVariables
Variable
Description
iWidth
Imagewidth.
iHeight
Imageheight.
Returns
Returnsthestatusofthemergeannotationsoperation.Anyvaluelessthanzeroisa
Snowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
206
C# PDF Text Highlight Library: add, delete, update PDF text
etc. Able to remove highlighted text in PDF document in C#.NET. Support to change PDF highlight color in Visual C# .NET class. Able
erase pdf text; delete text pdf document
Chapter28-ImageProcessingFunctions
CIMG_merge_bitmap()
Thisfunctionpermanentlymergesanimagefromdiskwiththeimageinmemoryusingthe
booleanfunctionspecifiedbyraster_operation.ThisopcodeallowsANDingandORing
overthecurrentimage.
YoucanfindthesamplesforusingthisfunctioninthefollowingdirectoryC:\Program
Files\Snowbound Software\RasterMaster® .NET Evaluation\Net\Samples.
ThisfunctionisusedintheMerge
Image
sample.
Syntax
int SNBDAPI CIMG_merge_bitmap(String *filename, int raster_
operation, int x, int y);
Remark
Table28.13:CIMG_merge_bitmapFunctionVariables
Variable
Description
filename
Path/filenameofdiskimagetomergeontotheimagein
memoryspecifiedbythefilename.
raster_operation
ROPopcodeobtainedfromthelistbelowortheWindows
SDKmanual.
0orSRCCOPY=Copiesthesourcebitmaptothe
destinationbitmap.
1orSRCPAINT=Combinespixelsofthedestinationand
sourcebitmapsusingtheBooleanORoperator.
2orSRCAND=Combinespixelsofthedestinationand
sourcebitmapsusingtheBooleanANDoperator.
3orSRCINVERT=Combinespixelsofthedestination
andsourcebitmapsusingtheBooleanXORoperator.
4orSRCERASE=Invertsthedestinationbitmapand
combinestheresultwiththesourcebitmapusingthe
BooleanANDoperator.
5orNOTSRCCOPY=Copiestheinvertedsourcebitmap
tothedestination.
6orNOTSRCERASE=Invertstheresultofcombining
thedestinationandsourcebitmapsusingtheBooleanOR
operator.
7orMERGECOPY=Combinesthepatternandthe
sourcebitmapusingtheBooleanANDoperator.
Note:ThesecodeswillnotworkinUnix.ThevalidUnix
207
Chapter28-ImageProcessingFunctions
Variable
Description
OPCodesare:
GXclear
CXand
GXandReverse
GXcopy
GXandInverted
GXnoop
GXxor
GXor
GXequiv
GXinvert
GXorReverse
GXcopyInverted
GXorInverted
GXand
8orMERGEPAINT=Combinestheinvertedsource
bitmapwiththedestinationbitmapusingtheBooleanOR
operator.
9orPATCOPY=Copiesthepatterntothedestination
bitmap.
10orPATPAINT=-Combinestheinvertedsourcebitmap
withthepatternusingtheBooleanXORoperator.
Combinestheresultofthisoperationwiththedestination
bitmapusingtheBooleanORoperator.
11orPATINVERT=Combinesthedestinationbitmap
withthepatternusingtheBooleanXORoperator.
12orDSTINVERT=Invertsthedestinationbitmap.
13orBLACKNESS=Turnsalloutputblack.
14orWHITENESS=Turnsalloutputwhite.
x
Pointertointegertoreceivethestartingxcoordinate.
y
Pointertointegertoreceivethestartingycoordinate.
Returns
Returnsthestatusofthemergebitmapoperation.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_merge_bitmap()
Thisfunctionpermanentlymergesanimagefromdiskwiththeimageinmemoryusingthe
booleanfunctionspecifiedbyraster_operation.ThisopcodeallowsANDingandORing
208
Chapter28-ImageProcessingFunctions
overthecurrentimage.
Syntax
int SNBDAPI CIMG_merge_bitmap(Snowbnd *src, int raster_operation,
int x, int y);
Remark
Table28.14:CIMG_merge_bitmapFunctionVariables
Variable
Description
src
MergesthesourceSnowbndobjectimageintothecalling
Snowbndobjectatxandywiththespecifiedraster
operation
raster_operation
ROPopcodeobtainedfromthelistbelowortheWindows
SDKmanual.
0orSRCCOPY=Copiesthesourcebitmaptothe
destinationbitmap.
1orSRCPAINT=Combinespixelsofthedestinationand
sourcebitmapsusingtheBooleanORoperator.
2orSRCAND=Combinespixelsofthedestinationand
sourcebitmapsusingtheBooleanANDoperator.
3orSRCINVERT=Combinespixelsofthedestination
andsourcebitmapsusingtheBooleanXORoperator.
4orSRCERASE=Invertsthedestinationbitmapand
combinestheresultwiththesourcebitmapusingthe
BooleanANDoperator.
5orNOTSRCCOPY=Copiestheinvertedsourcebitmap
tothedestination.
6orNOTSRCERASE=Invertstheresultofcombining
thedestinationandsourcebitmapsusingtheBooleanOR
operator.
7orMERGECOPY=Combinesthepatternandthe
sourcebitmapusingtheBooleanANDoperator.
Note:ThesecodeswillnotworkinUnix.ThevalidUnix
OPCodesare:
GXclear
CXand
GXandReverse
GXcopy
GXandInverted
209
Chapter28-ImageProcessingFunctions
Variable
Description
GXnoop
GXxor
GXor
GXequiv
GXinvert
GXorReverse
GXcopyInverted
GXorInverted
GXand
8orMERGEPAINT=Combinestheinvertedsource
bitmapwiththedestinationbitmapusingtheBooleanOR
operator.
9orPATCOPY=Copiesthepatterntothedestination
bitmap.
10orPATPAINT=-Combinestheinvertedsource
bitmapwiththepatternusingtheBooleanXORoperator.
Combinestheresultofthisoperationwiththedestination
bitmapusingtheBooleanORoperator.
11orPATINVERT=Combinesthedestinationbitmap
withthepatternusingtheBooleanXORoperator.
12orDSTINVERT=Invertsthedestinationbitmap.
13orBLACKNESS=Turnsalloutputblack.
14orWHITENESS=Turnsalloutputwhite.
x
Pointertointegertoreceivethestartingxcoordinate.
y
Pointertointegertoreceivethestartingycoordinate.
Returns
Returnsthestatusofthemergebitmapoperation.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_merge_bitmap_alpha()
Thisfunctionmergesa32-bitalphachannelimageontoanormal24-bitDIBusingthe
transparencychannel.
Syntax
int SNBDAPI CIMG_merge_bitmap_alpha(Snowbnd *src, CDIB_HEADER,
*dib_header, int xpos, int ypos, int opaque);
210
Documents you may be interested
Documents you may be interested