open pdf in new tab c# mvc : How to delete text in a pdf acrobat software application dll windows winforms wpf web forms RMDotNetProgrammersGuide16-part1804

Chapter23-InformationQueryFunctions
Returns
Returnsastringoranon-stringvalue.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_get_tiff_tag_page_fd()
ThisfunctionreadsaTIFFtagfromthefilespecifiedbyfilestreamandpagespecifiedbypage.
Thetagmaybeeitherastringreturnedinbufforalong,int,orcharreturnedinvalue.
Ifthereturnvalueis1,thevaluereturnedisastring.Returnvaluesof0indicatenon-string
values.
Syntax
int SNBDAPI CIMGLOW_get_tiff_tag_page_fd(Filestream *filestream,
int page, CTIFF_TAG *tag);
Remark
Table23.29:CIMGLOW_get_tiff_tag_page_fdFunctionVariables
Variable
Description
filestream
HandlereturnedfromaWindowsOpenFile()call
page
Pagenumberfromwhichtoreadtags
tag
TIFtagnumbertoreturn.Formoreinformation,seepublic
class
CTIFF_
TAG
.
Returns
Returnsastringoranon-stringvalue.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_get_tiff_tag_page_mem()
ThisfunctionreadsaTIFFtagfromtheimagebuffer.Thetagmaybeeitherastringreturnedin
bufforalong,int,orcharreturnedinvalue.
Syntax
int SNBDAPI CIMGLOW_get_tiff_tag_page_mem(Array *data, int page,
CTIFF_TAG *tag);
Remark
Table23.30:CIMGLOW_get_tiff_tag_page_memFunctionVariables
161
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
remove text from pdf reader; how to copy text out of a pdf
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
remove text from pdf; acrobat delete text in pdf
Chapter23-InformationQueryFunctions
Variable
Description
data
MemoryPointertoimagedata
page
Pagenumberfromwhichtoreadtags
tag
TIFtagnumbertoreturn.Formoreinformation,seepublic
class
CTIFF_
TAG
.
Returns
Returnsastringoranon-stringvalue.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
Example23.6CIMGLOW_get_tiff_tag_page_mem()
CTIFF_TAG tifTag = new CTIFF_TAG();
tifTag.tag = 315;
tifTag.tagvalue = 0;
tifTag.buff_max_bytes = 255;
tifTag.buff = new byte[255];
status = simage.CIMGLOW_get_tiff_tag_page_mem(arrImageData, 0,
tifTag);
UTF8Encoding utf8Encoder = new UTF8Encoding();
String tagString = utf8Encoder.GetString(tifTag.buff);
int tagValue = tifTag.tagvalue;
CIMGLOW_get_tile_info()
Thisfunctionfillsinthetilestructureinformationonwidth,height,tilewidth,andtileheight.
Syntax
int SNBDAPI CIMGLOW_get_tile_info(String *filename, CSNBDTILESTRUCT
*tile, int page);
Remark
Table23.31:CIMGLOW_get_tile_infoFunctionVariables
Variable
Description
filename
Path/filenameoftiledimageforwhichtoreturninformation
tile
Pointertothetileinformationstructuretoreturn.Formore
information,seepublic
class
CSNBDTILESTRUCT
.
page
Pagenumberofthetileinformationstructuretoreturn
162
.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.
acrobat remove text from pdf; pdf editor online delete 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 delete text in pdf acrobat; how to delete text from a pdf
Chapter23-InformationQueryFunctions
Example23.7CIMGLOW_get_tile_info
typedef struct tagSNBDTILESTRUCT
{
Long width;
Long height;
Long tile_width
Long tile_height
Long num_tiles;
SNBDTILESTRUCT
Returns
Returnsthefilenameofatiledimage.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_get_transp_color()
ThisfunctiongetsthetransparentcolorforGIFimages.
int SNBDAPI CIMGLOW_get_transp_color(void);
Returns
Returnsthestandardlibraryimagehandle.AnyvaluelessthanzeroisaSnowbounderrorcode.
SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_is_tiled_image()
Thisfunctionreturns1iftheimagepassedasargumentisatiledimage.CurrentlyTIFFand
JEDMICSimagescanbetiled.
Syntax
int SNBDAPI CIMGLOW_is_tiled_image(String *filename);
Remark
Table23.32:CIMGLOW_is_tiled_imageFunctionVariable
Variable
Description
filename
Path/filenameofthefiletoreturnanimationdelaytime
163
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.
delete text pdf preview; pull text out of pdf
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.
how to erase text in pdf file; how to delete text from pdf with acrobat
Chapter23-InformationQueryFunctions
Returns
Returnsthevalueofthetiledimage.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_read_pixel()
Thisfunctionreadsandreturnsapixelvaluefromtheimage.Thexposandyposspecifythe
locationintheimagefromwhichtoread.SeeCIMG_
runs_
to_
dib
()
formoreinformation.
Syntax
int SNBDAPI CIMGLOW_read_pixel(int xpos, int ypos);
Remark
Table23.33:CIMGLOW_read_pixelFunctionVariables
Variable
Description
xpos
Xcoordinateofpixeltoread
ypos
Ycoordinateofpixeltoread
Returns
Returnsthestatusofthereadpixeloperation.Avalueof0indicatessuccess.Anyvalueless
thanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistof
errorcodes.
CIMGLOW_redact_text()
Thisfunctionredactstextstringfromextractedtextbuffer.
Syntax
int SNBDAPI CIMGLOW_redact_text(Byte[] arrBuff, out Byte[]
textBuffer, String redactText, int caseSense, int redactColor,
Boolean isUnicode);
Remark
Table23.34:CIMGLOW_redact_textFunctionVariables
Variable
Description
arrBuff
Input,extractedtextbufferfromadocumentpage.
textBuffer
Outputtextbufferwiththetextstringredacted.
String
Textstringtoredact.
164
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 in pdf file online; remove text watermark 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.
delete text pdf acrobat; how to delete text from pdf document
Chapter23-InformationQueryFunctions
Variable
Description
caseSense
Ifitisnot0,casesensitive,otherwisenot.
redactColor
Thecolorvalueoftheredactedrectangle.
isUnicode
TrueifitisUnicodestringotherwise,asciistring.
Returns
Returnsavalueof0indicatessuccess.AnyvaluelessthanzeroisaSnowbounderrorcode.
SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_redact_rects()
Thisfunctionredactstextwithagroupofareas.
Syntax
int SNBDAPI CIMGLOW_redact_rects(Byte[] arrBuff, out Byte[]
textBuffer, CSNBD_SEARCH_RESULT[] snbdRCList, int redactColo;
Remark
Table23.35:CIMGLOW_redact_rectsFunctionVariables
Variable
Description
arrBuff
Extractedtextbufferfromadocumentpage..
textBuffer
Outputredactedtextbuffer.
CSNBD_SEARCH_RESULT
Textstringtoredact.
caseSense
Arrayofredactedareas.
redactColor
Thecolorvalueoftheredactedarea.
Returns
Returnsavalueof0indicatessuccess.AnyvaluelessthanzeroisaSnowbounderrorcode.
SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_rotate_page_mem()
ThisfunctionrotatesaPDFpageinPDFbufferandreturnstherotatedpagebuffer.Onlyworks
forPDF.Itrequiresitextsharp.dl.
Syntax
int CIMGLOW_rotate_page_mem(Byte[] arrImage, out Byte[] arrBuffer,
int rotateAngle, int pageIndex);
165
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.
how to delete text from pdf reader; delete text from pdf preview
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
how to erase text in pdf online; delete text from pdf file
Chapter23-InformationQueryFunctions
Remark
Table23.36:CIMGLOW_rotate_page_memFunctionVariables
Variable
Description
arrImage
InputPDFdocumentbuffer.
arrBuffer
Outputrotatedpagebuffer.
rotateAngle
Inputtheangleforapagetorotate.Forexample90,180,
270.
pageIndex
Inputthepageindexnumbertorotate.
Returns
Returnstheerrorcodeofthefunctionexecuted.Avalueof0indicatessuccess.Anyvalueless
thanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistof
errorcodes.
CIMGLOW_set_bitmap_header()
ThisfunctionfillsintheCDIB_HEADERstructurefortheimage.Itisusedtosetheight,width,
bits_pix,DPI,andotherinformation.
Syntax
int SNBDAPI CIMGLOW_set_bitmap_header(CDIB_HEADER, *dib_header);
Remark
Table23.37:CIMGLOW_set_bitmap_headerFunctionVariables
Variable
Description
dib_header
PointertoaCDIB_HEADERstructureinwhichtofill.For
moreinformation,seepublic
class
CDIB_
HEADER
.
Returns
Returnsthestandardlibraryimagehandle.AnyvaluelessthanzeroisaSnowbounderrorcode.
SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
YoucanusetheCIMGLOW_set_bitmap_headerandtheCIMG_
resize_
bitmap
functionsto
changetheresolution(DPI)ofyouroutputdocumentasshownintheexamplebelow:
Example23.8CIMG_decompress_bitmap
status = simage.CIMG_decompress_bitmap(filename.tif);
sdibHeader = new CDIB_HEADER();
166
Chapter23-InformationQueryFunctions
status = simage.CIMG_bitmap_info(sdibHeader);
sdibHeader.biXPelsPerMeter = 200;
sdibHeader.biYPelsPerMeter = 200;
//resize image to what you want
//status = simage.CIMG_resize_bitmap(newImageWidth,
newImageHeight);
status = simage.CIMGLOW_set_bitmap_header(sdibHeader);
CIMGLOW_set_document()
Thisfunctionsetstheformatparameterisanintegertorepresentanimagetype.
Syntax
int SNBDAPI CIMGLOW_set_document(int dpi, int bits, int format);
Remark
Table23.38:CIMGLOW_set_documentFunctionVariables
Variable
Description
dpi
Setsthedocumentindotsperinch.
bits
Setsthebitsperpixel.
1=blackandwhitedocuments
24=colorimages
format
Setstheformatparameter.
Returns
Returnsthestatusofthedocument.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_document_input(int, int)
Thisfunctionsetsthelevelofcolorandresolutionqualitywhenreadingindocumentsformost
documentformats.ItisusedforthePDF,Word,Excel,PCL,andAFPformats.Thisfunction
shouldbecalledbeforetheinputdocumentisreadinusingCIMG_
decompress_
bitmap
()
.
YoucanoverrideRasterMaster.NET’sdefaultbits-per-pixelandDPIsettingsusingthis
method.Youmaywanttoprocessjustblackandwhitedocuments.Usethismethodtosetthe
167
Chapter23-InformationQueryFunctions
inputbits-per-pixelto1forblackandwhiteinputwithouttheextraoverheadandperformance
costsofprocessingcolorimages.
Youcanusethisfunctiontodothefollowing:
l
Readincolororgrayscaledocumentsbysettingahigherbits-per-pixel.Pleasesee
Appendix
B,
Supported
File
Formats
fordetailsonwhatbitsperpixelaresupportedfor
eachformat.
l
IncreaseyouroutputimagequalitybyincreasingtheinputdocumentDPI.
l
EnhanceyourperformancebydecreasingthedocumentDPIorbitsperpixel.
ThismethoddoesnotaffecttheOffice2007-2010formats.PleaseseeCIMGLOW_
set_
document_
input
(int,
int,
int)
tosettheinputqualityforaspecificformat,includingOffice2007
formats.
YoucanfindthesamplesforusingthisfunctioninthefollowingdirectoryC:\Program
Files\Snowbound Software\RasterMaster® .NET Evaluation\Net\Samples.
ThisfunctionisusedintheWeb
Image
Viewer
Component
sample.
Note:
Thedefaultis200dpiand24bitsperpixelforPDF.Thedefaultis300dpiand1bitper
pixelforPCL,AFP,Word,andExcel.
Syntax
int SNBDAPI CIMGLOW_set_document_input(int dpi, int bits_pix);
Remark
Table23.39:CIMGLOW_set_document_inputFunctionVariables
Variable
Description
dpi
Setstheinputresolutionindotsperinch.Ahigherdpi
yieldsahigherqualitydocumentthattakeslongerto
processandtakesupmorememoryandstoragespace.
bits_pix
Setsthebitsperpixel.
1=blackandwhitedocuments
24=colorimages
SeeAppendix
B,
Supported
File
Formats
forinformation
ontheseandotherpixeldepthssupportedbyeachformat.
Returns
Returnsthestatusofthedocumentinput.AnyvaluelessthanzeroisaSnowbounderrorcode.
SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
168
Chapter23-InformationQueryFunctions
CIMGLOW_set_document_input(int, int, int)
Thisfunctionsetsthelevelofcolorandresolutionqualitywhenreadingindocumentsforthe
specifieddocumentformat.Thisfunctionshouldbecalledbeforetheinputdocumentisreadin
usingCIMG_
decompress_
bitmap
()
.
YoucanoverrideRasterMaster.NET’sdefaultbits-per-pixelandDPIsettingsforthespecified
formatusingthisfunction.
Youcanusethisfunctiontodothefollowing:
l
Settheinputbits-per-pixelto1forblackandwhiteinputtoremovetheextraoverhead
andperformancecostsofprocessingcolorimages.
l
Readincolororgrayscaledocumentsbysettingahigherbits-per-pixel.Pleasesee
Appendix
B,
Supported
File
Formats
fordetailsonwhatbitsperpixelaresupportedfor
eachformat.
l
IncreaseyouroutputimagequalitybyincreasingtheinputdocumentDPI.
l
IncreaseyourprocessingthroughputbydecreasingthedocumentDPIorbitsperpixel.
Note:
Thedefaultis200dpiand24bitsperpixelforPDF.Thedefaultis300dpiand1bitper
pixelforPCL,AFP,Word,andExcel.
Syntax
int SNBDAPI CIMGLOW_set_document_input(int dpi, int bits_pix, int
format);
Remark
Table23.40:CIMGLOW_set_document_inputFunctionVariable
Variable
Description
dpi
Setstheinputresolutionindotsperinch.Ahigherdpi
yieldsahigherqualitydocumentthattakeslongerto
processandtakesupmorememoryandstoragespace.
bits_pix
Setsthebitsperpixel.
1=blackandwhitedocuments
24=colorimages
SeeAppendix
B,
Suported
File
Formats
forinformationon
theseandotherpixeldepthssupportedbyeachformat.
format
Setstheformatparameter.Afileformatnumberas
specifiedinAppendix
B,
Supported
File
Formats
i.e.
169
Chapter23-InformationQueryFunctions
Variable
Description
Word(DOC)is86.
Returns
Returnsthestatusofthedocumentinput.AnyvaluelessthanzeroisaSnowbounderrorcode.
SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_document_page_size(int, int, int)
Thisfunctionsetsthedocument'spagesize.
Note:
Currentlythismethodonlysupports.xlsand.xlsxfiles.
Syntax
int SNBDAPI CIMGLOW_set_document_page_size(double width, double
height, int format);
Remark
Table23.41:CIMGLOW_set_document_page_sizeFunctionVariable
Variable
Description
width
Setsthepagesizewidth.Usingunitinches.
height
Setsthepagesizeheight.Usingunitinches.
format
Setstheformatparameter.Currently,theonlysupported
fileformatisExcel.Afileformatnumberasspecifiedin
Appendix
B,
Supported
File
Format
i.e.Excel(XLS)is84.
Example23.9CIMGLOW_set_document_page_size
status = simage.CIMGLOW_set_document_page_size(20.0, 20.0,
(int)CIMG_IMAGE_TYPE.xls);
Returns
Returnsthestatusofthedocumentpagesize.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
170
Documents you may be interested
Documents you may be interested