Chapter15-ImageDecompressionOptionFunctions
Syntax
int SNBDAPI CIMGLOW_set_decomp_rect(int x, int y, int width, int
height);
Remark
Table15.2:CIMGLOW_set_decomp_rectFunctionVariables
Variable
Description
x
Startofxcroppingrectangle
y
Startofycroppingrectangle
width
Widthofcroppingrectangle
height
Heightofcroppingrectangle
Returns
Returnsthestatusofthesetdecompressedrectangleoperation.Avalueof0indicates
success.AnyvaluelessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_decomp_reduction()
Thisglobalfunctionforcescolorreductionatdecompression.Ifthisfunctionissetto8,for
instance,all24-bitimagesarereducedandstoredinmemoryas8-bitimages.
Syntax
int SNBDAPI CIMGLOW_set_decomp_reduction(int bitsperpixel);
Remark
Table15.3:CIMGLOW_set_decomp_reductionFunctionVariable
Variable
Description
bitsperpixel
Pixeldepthofbitmaptocreate
Returns
Returnsthestatusofthesetdecompressedreductionoperation.Avalueof0indicates
success.AnyvaluelessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
91
Pdf editor delete text - 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
how to delete text in a pdf acrobat; how to delete text in pdf using acrobat professional
Pdf editor delete text - 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
acrobat delete text in pdf; how to delete text from a pdf in acrobat
Chapter15-ImageDecompressionOptionFunctions
CIMGLOW_set_decompsize()
Thisglobalfunctionforcesallimagestobescaledastheyaredecompressed.Thisisusefulfor
creatingicons.Ifthewidthandheightaresetto100,theimageinmemoryisscaledto100by
100usingmuchlessmemory.
Syntax
int SNBDAPI CIMGLOW_set_decompsize(int width, int height);
Remark
Table15.4:CIMGLOW_set_decompsizeFunctionVariables
Variable
Description
width
Widthtodecompressimage
height
Heighttodecompressimage
Returns
Returnsthestatusofthesetdecompressedsizeoperation.Avalueof0indicatessuccess.
AnyvaluelessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_jpeg_decompression
ThisglobalfunctiongetsthefrequencycomponentsinJPEGimagesaftertheHuffman
decompression.Thesevalueswillalsobede-quantized.TheywillreplacetheinternalRGB
datanormallyreturnedfromdecompressingaJPEGimage.
Thecomponentswillbeinthesameorderastheuncompressedimage,excepttheywillbe32-
bitintegervaluesforeachplane.
Syntax
int SNBDAPI CIMGLOW_set_jpeg_decompression(int mode);
Remark
Table15.5:CIMGLOW_set_jpeg_decompressionFunctionVariable
Variable
Description
mode
0=normalJPEGdecompression
1=returnsthearrayof8x8blocksoffrequency
components
92
VB.NET PDF- HTML5 PDF Viewer for VB.NET Project
C#: ASP.NET PDF Editor; C#: WPF PDF Viewer; C#: Create PDF from Word; C# Split PDF; C# Page: Insert PDF pages; C# Page: Delete PDF pages; C# Read: PDF Text Extract
how to delete text in pdf converter; how to delete text from a pdf document
C# HTML5 PDF Viewer SDK to view, annotate, create and convert PDF
framework class. An advanced PDF editor enable C# users to edit PDF text, image and pages in Visual Studio .NET project. Support to
how to edit and delete text in pdf file; how to remove text watermark from pdf
Chapter15-ImageDecompressionOptionFunctions
Returns
ReturnsthestatusoftheJPEGdecompression.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_overlay_path()
ThisglobalfunctionsetsthepathforoverlayfilesforPT:OCAimages.Thelibrarysearchesthis
pathforoverlayfilesrequiredbyPT:OCAimages.IfyoupassinaNULLparameter,ittoggles
betweenthetwowaysinwhichtheoverlayfileisdecompressed.
Forexample,thisfunctionisusedwhenyouhaveacheckoverlayimagefile(thefilehasa
checkimageonalargerwhitebackground).Ifanullparameterisentered,togglingoccurs,
whichletsyouretrievejustthecheckimageitselfwithouttheextraneouswhitespace.This
way,youjustgetthecheckimage.Callingthismethodagainretrievestheoriginalimage.
Note:
Onlyusedwithcertainoverlayfiles.
Syntax
int SNBDAPI CIMGLOW_set_overlay_path(String *path);
Returns
Returnsthestatusofoverlaypath.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_pdf_input()
ThisglobalfunctionconvertsPDFfilesintoarasterimagewhenbeingdecompressedinto
RasterMaster.NET.Thisfunctionallowsthetypeofbitmapcreatedtobespecified.
Note:
PDFreadingisanoptionalmoduleavailableinthePDFpluginforWindowsDLLand
ActiveXproducts.
Syntax
int SNBDAPI CIMGLOW_set_pdf_input(int dpi, int bitsperpixel);
93
C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
Page: Delete Existing PDF Pages. |. Home ›› XDoc.PDF ›› C# PDF: Delete PDF Page. C#.NET PDF Library - Delete PDF Document Page in C#.NET.
how to delete text in pdf file online; how to delete text from pdf
C# PDF insert text Library: insert text into PDF content in C#.net
|. Home ›› XDoc.PDF ›› C# PDF: Insert Text to PDF. Powerful .NET PDF edit control allows modify existing scanned PDF text.
how to remove highlighted text in pdf; pdf text watermark remover
Chapter15-ImageDecompressionOptionFunctions
Remark
Table15.6:CIMGLOW_set_pdf_inputFunctionVariables
Variable
Description
dpi
Controlsthewidthandheightofthefile.Setto200or300
forblackandwhiteimages.Setto100or200forcolor
images.
bitsperpixel
Allowsimportingcolororblackandwhiteimages.
1=blackandwhitedocuments
24=colorimages
Returns
ReturnsthestatusofPDFinput.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
CIMGLOW_set_pdf_password()
ThisfunctionallowspassingapasswordstringtoallowfordecompressingPDFfilesthatare
passwordprotected.MakethiscallbeforecallinganyoftheRasterMasterdecompresscalls
suchasCIMG_
decompress_
bitmap
()
.
Syntax
int SNBDAPI CIMGLOW_set_pdf_password(String *filename);
Remark
Table15.7:CIMGLOW_set_pdf_passwordFunctionVariables
Variable
Description
filename
Stringrepresentedpasswordtousetoopenapassword
protectingPDFfile.
Returns
ReturnsthestatusofPDFpassword.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
**GLOBALFUNCTION**
94
C# PDF Convert to Text SDK: Convert PDF to txt files in C#.net
PDF to Text. |. C#.NET PDF SDK - Convert PDF to Text in C#.NET. Empower C# Users to Convert PDF to Text (TXT) in Visual C# with .NET XDoc.PDF Converter Library.
remove text watermark from pdf online; delete text from pdf acrobat
C# PDF Text Search Library: search text inside PDF file in C#.net
|. Home ›› XDoc.PDF ›› C# PDF: Search PDF Text. C#.NET PDF SDK - Search and Find PDF Text in C#.NET. C#.NET PDF DLLs for Finding Text in PDF Document.
deleting text from a pdf; pdf text remover
Chapter15-ImageDecompressionOptionFunctions
CIMGLOW_unset_auto_detect()
Thisglobalfunctionturnstheautomaticfiletypedetectionoffforthedesiredformat.Thisfile
typeisthennolongerdecompressedbythelibrary.
Syntax
int SNBDAPI CIMGLOW_unset_auto_detect(int format);
Remark
Table15.8:CIMGLOW_unset_auto_detectFunctionVariable
Variable
Description
format
Imageformattypefromthedefinedlistinimglib.h
Returns
Returnsthestatusoftheunsetauto-detectionoperation.Avalueof0indicatessuccess.Any
valuelessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
for
alistoferrorcodes.
**GLOBALFUNCTION**
95
C# PDF metadata Library: add, remove, update PDF metadata in C#.
Allow C# Developers to Read, Add, Edit, Update and Delete PDF Metadata in .NET Project. Remove and delete metadata from PDF file.
how to delete text from pdf document; delete text pdf
VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.
›› VB.NET PDF: Delete PDF Page. VB.NET PDF - How to Delete PDF Document Page in VB.NET. Visual Basic Sample Codes to Delete PDF Document Page in VB.NET Class.
delete text from pdf preview; how to delete text in pdf file online
Chapter16-ImageCreationFunctions
Chapter 16 - Image Creation Functions
ThischapterdescribestheRasterMaster.NETimagecreationfunctions.
CIMG_create_bitmap_class()
ThisfunctioncreatesabitmapobjectfromtheSnowboundobject.
Syntax
Bitmap* CIMG_bitmap_class(int width, int height);
Remark
Table16.1:CIMG_create_bitmap_classFunctionVariable
Variable
Description
width
Widthofthebitmapobject
height
Heightofthebitmapobject
Returns
Returnsthestatusofthecreatebitmapobject.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_create_handle()
ThisfunctionimportsaWindowsDIBcreatedexternallyfromthelibrary.Thisfunctionmakesa
copyoftheimageDIBanddoesnotalterordeletethelpbihortheDIBdatapassedin.
Syntax
int SNBDAPI CIMG_create_handle(int width, int height, int
bitsperpixel);
Remark
Table16.2:CIMG_create_handleFunctionVariable
Variable
Description
width
Widthofthehandle
height
Heightofthehandle
bitsperpixel
Pixeldepthofbitmaptocreate
96
Chapter16-ImageCreationFunctions
Returns
Returnsthestatusofthecreatehandleoperation.AnyvaluelessthanzeroisaSnowbound
errorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_create_handle_ddb()
Thisfunctionallowsimportingofanold-styleWindowsHBITMAPorDeviceDependentBitmap
(DDB).Thisdoesnotaltertheoriginalbitmap,butsimplycopiesandconvertsthedatatothe
library’sinternalDIBformat.
Syntax
int SNBDAPI CIMG_create_handle_ddb(Graphics *g, Bitmap* pBitmap,
IntPtr hpal);
Remark
Table16.3:CIMG_create_handle_ddbFunctionVariables
Variable
Description
g
Graphicsobject
Bitmap
GDI+Bitmapobject
hpal
Windowspaletteforthebitmapimage
Returns
Returnsthegraphicsobject.AnyvaluelessthanzeroisaSnowbounderrorcode.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMG_create_handle_keep()
ThisfunctionimportsaWindowsDIBcreatedexternallyfromthelibrary.Itreturnsastandard
imagehandlefordisplaying,saving,orprinting.
Note:
ThisfunctiondoesnotmakeacopyoftheimageDIB;itusesthepointeranddata
directly.Afteracalltothisfunction,donotdeletethelpbihpointeroralteritinany
way.
Syntax
int SNBDAPI CIMG_create_handle_keep(CDIB_HEADER *dib_header);
97
Chapter16-ImageCreationFunctions
Remark
Table16.4:CIMG_create_handle_keepFunctionVariable
Variable
Description
dib_header
PointertoaCDIB_HEADERstructurethatcontainsthe
imageheader.Formoreinformation,seepublic
class
CDIB_
HEADER
.
Returns
Returnsthestatusofthekeepimagehandleoperation.Anyvaluelessthanzeroisa
Snowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
98
Chapter17-HTMLFunctions
Chapter 17 - HTML Functions
ThischapterdescribestheHTMLfunctionsavailableinthecurrentversionofRasterMaster
.NET.
Note:
TheHTMLpluginoptionrequires.NET4.0
CIMGLOW_set_html_input()
ThisfunctionsetsparametersforHTMLrendering.
Syntax
int SNBDAPI CIMGLOW_set_html_input(int print_dpi, int bits_pix);
Remarks
Table17.1:CIMGLOW_set_html_input functionvariabledescriptions.
Variable
Description
print_dpi
Usedforrenderingpurposes.Thedefaultvalueis200.0.
bits_pix
Setsthebitsperpixel.Only1,24,and32aresupported.
Thedefaultvalueis24.
Returns
ReturnsthestatusoftheSnowbounderrorcode.Avalueof0or1indicatessuccess.Anyvalue
lessthanzeroisaSnowbounderrorcode.SeeAppendix
H,Snowbound
Error
Codes
foralistof
errorcodes.
CIMGLOW_set_html_page_size()
Thisfunctionsetsthepagesizeinpixelsforscreensizepurposes.Thesevaluesarejusta
suggestionandwillprobablybeover-writtentomoreappropriatevaluesduringprogram
execution.Themeasurementunitsareininches.
Syntax
int SNBDAPI CIMGLOW_set_html_page_size(float w, float h);
Remarks
Table17.2:CIMGLOW_set_html_page_sizefunctionvariabledescriptions.
99
Chapter17-HTMLFunctions
Variable
Description
w
Setsthewidth.Thedefaultvalueis8.5.
h
Setstheheight.Thedefaultvauleis11.0.
Returns
ReturnsthestatusoftheSnowbounderrorcode.Avalueof0or1indicatessuccess.Anyvalue
lessthanzeroisaSnowbounderrorcode.SeeAppendix
H,Snowbound
Error
Codes
foralistof
errorcodes.
Functions Available inRasterMaster .NETV18.1 and
Earlier
ThefunctionsinthissectionareavailableinRasterMaster.NETV18.1andanyreleases
previoustoV18.1.
CIMGLOW_set_html_capabilities()
ThisfunctionsetsvariousparametersfortheHTMLrenderer:
EnablesordisablesimagecapabilitiesfortheHTMLrenderer.
EnablesordisablesJavaScriptcapabilitiesfortheHTMLrenderer.
EnablesordisablestheuseofthepagesizeratiocapabilityoftheHTMLdocument.
Enablesordisablestheexclusiveuseofprintpagebreakstosignalpageboundaries.
SetstheratioofthewidthtotheheightofthepagesextractedfromtheHTMLdocument.
Note:
ThenewversionofourHTMLrendererenginehasJavaScriptandimagedownloading
enabledbydefault.MaliciousJavaScriptcodeandmaliciouslyconstructedembedded
imagesmaycompromisethesecurityofthehostcomputer.Pleaseusethesefeatures
withcaution.
Syntax
int SNBDAPI CIMGLOW_set_html_capabilities(int isImageEnabled, int
isJavascriptEnabled, int isRatioEnabled, int isPageBreaksExclusive,
Double dRatio);
Remarks
Table17.3:CIMGLOW_set_html_capabilitiesFunctionVariables
100
Documents you may be interested
Documents you may be interested