open pdf from windows form c# : How to delete text in a pdf acrobat application Library utility azure asp.net web page visual studio RMDotNetProgrammersGuide11-part1799

Chapter19-ImageSavingFunctions
l
WPFScanning_
CSHARP
l
XPSMem_
CSHARP
Note:
Ifthetypeis-1,thelibrarylooksatthefileextensionfordeterminingtheoutputfiletype.
Syntax
int SNBDAPI CIMG_save_bitmap(String *filename, int format);
Remark
Table19.1:CIMG_save_bitmapFunctionVariables
Variable
Description
filename
Fileorpath/filenameforoutputimage
format
SeeAppendix
B,
Supported
File
Format
forallimage
typesallowedandallfilesshippedwiththeproduct
Returns
Returnsthestatusofthesavebitmapoperation.Avalueof0or1indicatessuccess.Anyvalue
lessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralist
oferrorcodes.
CIMG_save_bitmap_fd()
Thisfunctionsavesanimagetodiskinanydesiredformat.Thisallowssavinganywhereinto
anopenfilehandleforembeddedimages.
AftercallingOpenFile,theprogrammermayseekanypositioninthefile.Thissavefunction
beginswritingcompresseddataintheformatspecifiedbytypeatthislocation.
Note:
Ifthetypeis-1,thelibrarylooksatthefileextensionfordeterminingtheoutputfiletype.
Syntax
int SNBDAPI CIMG_save_bitmap_fd(FileStream *filestream, int
format);
Remark
Table19.2:CIMG_save_bitmap_fdFunctionVariables
111
How to delete text in a pdf acrobat - 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 pdf acrobat; how to delete text from a pdf reader
How to delete text in a pdf acrobat - 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
delete text pdf document; how to erase text in pdf
Chapter19-ImageSavingFunctions
Variable
Description
filestream
WindowsfilehandleobtainedfromOpenFileor_lopen
format
SeeAppendix
B,
Supported
File
Format
forallimage
typesallowed
Returns
Returnsthestatusofthesavebitmapfilehandleoperation.Anyvaluelessthanzeroisa
Snowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_save_bitmap_mem()
Thisfunctionsavesanimagetoamemorypointerintheformatspecifiedbythefiletype.After
callingGlobalAlloc()andGlobalLock(),theprogrammersendsthepointertothesaving
function.Thisfunctionoperatesononlyonepageatatime.Formulti-pagesaving,pleaseuse
CIMG_
save_
bitmap
()
.
Thetotalsizeofthecompressedimageisreturnedinbytes.Ifusingthesamepointermorethan
once,itissuggestedthatyouclearthefirst10bytestozerotoavoidthelibrarypresumingthe
memorylocationalreadycontainsanimage.
YoucanfindthesamplesforusingthisfunctioninthefollowingdirectoryC:\Program
Files\Snowbound Software\RasterMaster® .NET Evaluation\Net\Samples.
Thisfunctionisusedinthefollowingsamples:
l
ASP
Memory
Copy
l
Memory
Copy
Syntax
long SNBDAPI CIMG_save_bitmap_mem(Array *data, int format);
Remark
Table19.3:CIMG_save_bitmap_memFunctionVariables
Variable
Description
data
Windowsmemorypointeralreadyallocated
format
SeeAppendix
B,
Supported
File
Format
forallimage
typesallowed
Returns
Returnsthetotalsizeofthecompressedimage.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H
-
Error
Codes
foralistoferrorcodes.
112
.NET PDF Document Viewing, Annotation, Conversion & Processing
Redact text content, images, whole pages from PDF file. Annotate & Comment. Edit, update, delete PDF annotations from PDF file. Print.
delete text pdf acrobat professional; erase pdf text
C# PDF Converter Library SDK to convert PDF to other file formats
Allow users to convert PDF to Text (TXT) file. can manipulate & convert standard PDF documents in other external third-party dependencies like Adobe Acrobat.
how to edit and delete text in pdf file; erase text in pdf document
Chapter19-ImageSavingFunctions
CIMGLOW_write_tiff_stream()
ThefunctioncreatesaTIFFfiledirectlyfromraworcompresseddata.Thisisbestusedwhen
receivingrawdata(noheaderinformation)directlyfromascannerorotherinputdevice.
Syntax
int SNBDAPI CIMGLOW_write_tiff_stream(CDIB_HEADER *dib_header,
Array *arrData, int data_size, int file_type, String *strFileName);
Remark
Table19.4:CIMGLOW_write_tiff_streamFunctionVariables
Variable
Description
dib_header
PointertoaCDIB_HEADERstructurecontainstheimage
header.Formoreinformation,seepublic
class
CDIB_
HEADER
.
arrData
Datatowriteout
data_size
Sizeofdatastreaminbytes
file_type
TIFFfiletypetowrite
strFileName
Outputfilename
Returns
ReturnsthestatusoftheTIFFstream.AnyvaluelessthanzeroisaSnowbounderrorcode.
SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
113
C# powerpoint - PowerPoint Conversion & Rendering in C#.NET
documents in .NET class applications independently, without using other external third-party dependencies like Adobe Acrobat. PowerPoint to PDF Conversion.
erase text from pdf; how to delete text from a pdf in acrobat
C# Word - Word Conversion in C#.NET
Word documents in .NET class applications independently, without using other external third-party dependencies like Adobe Acrobat. Word to PDF Conversion.
deleting text from a pdf; remove text from pdf online
Chapter20-ImageSavingOptionFunctions
Chapter 20 - Image Saving Option
Functions
ThischapterdescribestheRasterMaster.NETimagesavingoptionfunctions.
CIMG_set_encrypt()
Thisglobalfunctionallowsencryptingimageswhilesaving.Thekeypassedinbythefunction
istheencryptionkey.Thesamekeymustbeusedbeforetheimageisread.
YoucanfindthesamplesforusingthisfunctioninthefollowingdirectoryC:\Program
Files\Snowbound Software\RasterMaster® .NET Evaluation\Net\Samples.
ThisfunctionisusedintheEncryption
sample.
Note:
Thekeyneedonlybesetonceforeachinstanceoftheprogram.
Syntax
int SNBDAPI CIMG_set_encrypt(int on_off, int key);
Remark
Table20.1:CIMG_set_encryptFunctionVariables
Variable
Description
on_off
Turnsencryptiononoroffforanimageatsave
key
Alonguserdefinedkeyforencryption
Returns
Returnsthesetencryption.AnyvaluelessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_comp_quality()
ThisfunctionsetsthecompressionratiotoqualityfactortousewhensavingJPEGimages.
Thisisaglobalsettingandaffectsallthreads.Thedefaultvalueis70.Thisisawriteonly
setting.Thereisnogetmethod.
114
VB.NET PDF: How to Create Watermark on PDF Document within
create a watermark that consists of text or image (such And with our PDF Watermark Creator, users need no external application plugin, like Adobe Acrobat.
how to delete text from pdf with acrobat; delete text from pdf online
C# Windows Viewer - Image and Document Conversion & Rendering in
standard image and document in .NET class applications independently, without using other external third-party dependencies like Adobe Acrobat. Convert to PDF.
pdf editor delete text; how to delete text from pdf document
Chapter20-ImageSavingOptionFunctions
Syntax
int SNBDAPI CIMGLOW_set_comp_quality(int quality);
Remark
Table20.2:CIMGLOW_set_comp_qualityFunctionVariable
Variable
Description
quality
Integerbetween1-100
1=Smallestfilesizebutleastquality
100=Bestimagequalityandlargestfilesize
Returns
Returnsthesetcompressionratio.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_image_orientation()
ThisglobalfunctionsetstheorientationforCALSorTIFFimages.Itorientstheimagein45
degreeincrements.
Syntax
int SNBDAPI CIMGLOW_set_image_orientation(int orient);
Remark
Table20.3:CIMGLOW_set_image_orientationFunctionVariable
Variable
Description
orient
Integervaluebetween0and8
Returns
Returnsthestatusoftheimageorientation.Avalueof0or1indicatessuccess.Anyvalueless
thanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistof
errorcodes.
**GLOBALFUNCTION**
115
C# Excel - Excel Conversion & Rendering in C#.NET
Excel documents in .NET class applications independently, without using other external third-party dependencies like Adobe Acrobat. Excel to PDF Conversion.
pdf text watermark remover; delete text pdf file
VB.NET PowerPoint: VB Code to Draw and Create Annotation on PPT
other documents are compatible, including PDF, TIFF, MS free hand, free hand line, rectangle, text, hotspot, hotspot more plug-ins needed like Acrobat or Adobe
acrobat delete text in pdf; how to remove highlighted text in pdf
Chapter20-ImageSavingOptionFunctions
CIMGLOW_set_jpeg2000_comp_ratio()
ThisglobalfunctionspecifiestheamountofcompressionwhensavingaJPEG2000file.The
valueistheratiooftheoutputfilesizetotheoriginaluncompressedfilesize.
Note:
JPEG2000isavailableasanoptionaladdontotheWindowsDLLandActiveXproduct.
Syntax
int SNBDAPI CIMGLOW_set_jpeg2000_comp_ratio(int ratio);
Remark
Table20.4:CIMGLOW_set_jpeg2000_comp_ratioFunctionVariable
Variable
Description
ratio
CompressionratioofJPEG2000outputfile
Returns
ReturnsthestatusoftheJPEG2000compressionratio.Anyvaluelessthanzeroisa
Snowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_jpg_interleave()
Thisglobalfunctionsetsvaluesforblueandredchromadecimation.Thisfunctionshouldbe
usedbeforesavingimagestoJPEGformat.
Avalueof2forhand2forvwillskipeveryotherchromapixelhorizontallyandvertically.This
maygivebettercompressionresultsforsavingimagesasJPEG.
Thedefaultis2:1,thoughthebestqualitywillbeat1:1.Developersshouldexperimentwitha
value,todeterminewhichwillgivethebestimagecompressionwhilemaintainingacceptable
quality.
Syntax
int SNBDAPI CIMGLOW_set_jpg_interleave(int h_int, int v_int);
Remark
Table20.5:CIMGLOW_set_jpg_interleaveFunctionVariables
116
Chapter20-ImageSavingOptionFunctions
Variable
Description
h_int
Horizontalinterleavingfactor
v_int
Verticalinterleavingfactor
Returns
ReturnsthestatusoftheJPEGinterleavefactor.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_pdf_output()
ThisglobalfunctionsetsthedestinationsizeforsavingPDFfiles.Thexsizeandysizearethe
outputsizesinpoints.Apointis1/72ofaninch.OnlyPDF,PCL,andAFPfileformatscanbe
saved.ThePCLandAPFfileformatsaresavedasbitmap.ThePDFfileformatcanbesaved
asbitmaporsearchabletext..
Syntax
int SNBDAPI CIMGLOW_set_pdf_output(double width, double height);
Remark
Table20.6:CIMGLOW_set_pdf_outputFunctionVariables
Variable
Description
doublewidth
Widthofimageinpoints
doubleheight
Heightofimageinpoints
Returns
ReturnsthestatusofPDFoutput.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_tiff_save_strips
Thisglobalfunctionsavesdatainstrips,whichisknownas‘strippedTIFFs’,whensavingto
TIFFfileformatswiththefollowingcompressiontypes:
l
Uncompressed
l
LZW
l
Packbits
l
Group4
117
Chapter20-ImageSavingOptionFunctions
Thisbreaksupthedataintosmallersegmentsinsteadofalllinesoftheimagebeingsavedin
thesameoffset.
Syntax
int SNBDAPI CIMGLOW_set_tiff_save_strips(int on_off);
Remark
Table20.7:CIMGLOW_set_tiff_save_stripsFunctionVariable
Variable
Description
on_off
0=Off
1=On
Returns
ReturnsthestatusofstrippedTIFFs.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_tiff_tag()
Thisglobalfunctionwritesnewtagsaswellasallcurrenttags.Thisfunctioncanbecalled
multipletimesforaddingmultipletags.
Note:
IfyoureadinaTIFFfile,RasterMaster.NETdoesnotsaveanyofthetags.Noneofthe
tagdataissavedexceptfortheneededdatasuchasbitsperpix,height,andDPI.This
issavedintheLPBITMAPINFOHEADER structinRasterMaster.NET'sinternal
format.Anyothertagsarenotpreserved.Youcouldreadinthetagsanddatayouneed
fromasourceTIFF,thensetnewtagsanddatabeforesaving.
Settingthe tag IDto-1clearsoutallextratagsfrombeingwrittentothefile.Itstores
thepreviousvaluesbetweencalls.Then,setnewtagvaluesasshowninthefollowing
example:
Simage.CIMGLOW_set_tiff_tag(-1,0,0,null);
Syntax
int SNBDAPI CIMGLOW_set_tiff_tag(CTIFF_TAG *tag);
Remark
Table20.8:CIMGLOW_set_tiff_tagFunctionVariable
118
Chapter20-ImageSavingOptionFunctions
Variable
Description
tag
IDoftagtowrite.Formoreinformation,seepublic
clas
CTIFF_
TAG
Returns
ReturnsthestatusofTIFFtags.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
119
Chapter21-ImageDisplayFunctions
Chapter 21 - Image Display Functions
ThischapterdescribestheRasterMaster.NETimagedisplayfunctions.
bool repaintBackground()
Thisfunctionpredeterminesifthebackgroundneedstoberepainted.
Syntax
bool repaintBackground(double zoom, int type);
Remark
Table21.1:bool repaintBackgroundVariables
Variable
Description
doublezoom
Zoomfactor:
0=fittowindowiftype=aspectdefault
100=displaypixelsonetooneiftype=aspectdefault
type
Returnsthezoomvalueoftheparticulartag
Returns
Returnsthestatusofthebackground.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_display_bitmap()
Thisfunctionisastandardimagedisplayroutine.
Thisfunctiondetectsthevideodisplayadapterandmayreducethenumberofcolorsinthe
imagewhendisplaying,suchaswhendisplayinga24-bitimageona256colordisplayadapter.
Ifdisplayqualityispoor,trysomeofthecolorreductionfunctionssuchas,CIMG_
mediancut_color()orCIMG_bayer_color().
SeeCIMG_
mediancut_
color
()
andCIMG_
bayer_
color
()
formoreinformation.
YoucanfindthesamplesforusingthisfunctioninthefollowingdirectoryC:\Program
Files\Snowbound Software\RasterMaster® .NET Evaluation\Net\Samples.
Thisfunctionisusedinthefollowingsamples:
l
Animate
120
Documents you may be interested
Documents you may be interested