Chapter17-HTMLFunctions
Variable
Description
isImageEnabled
Setthevalueto0todisable.Setthevalueto1to
enable.
Thedefaultvalueis1.
isJavascriptEnabled
Setthevalueto0todisable.Setthevalueto1to
enable.
Thedefaultvalueis1.
isRatioEnabled
Setthevalueto0todisable.Setthevalueto1to
enable.
Thedefaultvalueis1.
isPageBreaksExclusive
Setthevalueto0todisable.Setthevalueto1to
enable.
Thedefaultvalueis1.
dRatio
Setsthewidth/heightratio.Thedefaultvalueis
8.5/11.0.
(i.e.USLETTERportrait-mode).
Note:Theratiovalueisnotsetifthe
isRatioEnabledvalueisdisabled.
Returns
ReturnsthestatusoftheSnowbounderrorcode.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_html_home_dir()
ThisfunctionsetsthehomedirectoryfortheHTMLrenderer.
Syntax
int SNBDAPI CIMGLOW_set_html_home_dir(String dir);
Remarks
Table17.4:CIMGLOW_set_html_home_dirfunctionvariabledescriptions.
Variable
Description
dir
Thisvaluedoesnotsupportdouble-bytecharacters
(i.e.ASCIIonly).
Returns
ReturnsthestatusoftheSnowbounderrorcode.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
101
Pdf editor online 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
pdf text remover; how to remove text watermark from pdf
Pdf editor online 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
how to delete text in pdf file; delete text pdf file
Chapter17-HTMLFunctions
CIMGLOW_set_html_image_capability()
Thisfunctionenablesordisablesimagedownloadingandimageloadingcapabilitiesforthe
HTMLrenderer.
Note:
ThenewversionofourHTMLrendererenginehasJavaScriptandimagedownloading
enabledbydefault.MaliciousJavaScriptcodeandmaliciouslyconstructedembedded
imagesmaycompromisethesecurityofthehostcomputer.Pleaseusethesefeatures
withcaution.
Syntax
int SNBDAPI CIMGLOW_set_html_image_capability(int isEnabled);
Remarks
Table17.5:CIMGLOW_set_html_image_capabilityfunctionvariabledescriptions.
Variable
Description
isEnabled
Setthevalueto0todisable.Setthevalueto1to
enable.Thedefaultvalueis1.
Returns
ReturnsthestatusoftheSnowbounderrorcode.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_html_javascript_capability()
ThisfunctionenablesordisablesJavaScriptcapabilitiesfortheHTMLrenderer.
Notes:
ThenewversionofourHTMLrendererenginehasJavaScriptandimagedownloading
enabledbydefault.MaliciousJavaScriptcodeandmaliciouslyconstructedembedded
imagesmaycompromisethesecurityofthehostcomputer.Pleaseusethesefeatures
withcaution.
JavaScriptisinterpreteddifferentlywitheachwebbrowser.Inparticular,ournew
rendererenginedoesnotsupportallMicrosoftInternetExplorer-onlyfunctions.
Syntax
int SNBDAPI CIMGLOW_set_html_javascript_capability(int isEnabled);
102
C# HTML5 PDF Viewer SDK to view, annotate, create and convert PDF
font and size, bold and highlight text in easy to set a password to PDF online directly in Except password setting, RasterEdge HTML5 PDF Editor also enable C#
remove text from pdf reader; how to delete text in pdf file online
VB.NET PDF- HTML5 PDF Viewer for VB.NET Project
ONLINE DEMOS: Online HTML5 Document Viewer; Online XDoc.PDF C# Page: Insert PDF pages; C# Page: Delete PDF pages; C# PDF Viewer; VB.NET: ASP.NET PDF Editor; VB.NET
how to erase text in pdf file; how to delete text in pdf acrobat
Chapter17-HTMLFunctions
Remarks
Table17.6:CIMGLOW_set_html_javascript_capabilityfunctionvariable
descriptions.
Variable
Description
isEnabled
Setthevalueto0todisable.Setthevalueto1to
enable.Thedefaultvalueis1.
Returns
ReturnsthestatusoftheSnowbounderrorcode.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_html_page_size_ratio()
ThisfunctionsetstheratioofthewidthtotheheightofthepagesextractedfromtheHTML
document.
Syntax
int SNBDAPI CIMGLOW_set_html_page_size_ratio(int ratio);
Remarks
Table17.7:CIMGLOW_set_html_page_size_ratiofunctionvariabledescriptions.
Variable
Description
ratio
Setsthewidth/heightratio.Thedefaultvalueis8.5/11.0.
(i.e.USLETTERportrait-mode).
Note:Thevalueisignoredifthepagesizeratio
capabilityisdisabled.
Returns
ReturnsthestatusoftheSnowbounderrorcode.Avalueof1indicatessuccess.Anyvalue
lessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralist
oferrorcodes.
CIMGLOW_set_html_page_size_ratio_capability()
ThisfunctionenablesordisablestheuseofthepagesizeratiocapabilityoftheHTML
documentbyforcingapagesizeratiocapabilityintheHTMLdocument.
Syntax
int SNBDAPI CIMGLOW_set_html_page_size_ratio_capability(int
isEnabled);
103
C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
able to delete PDF page in both Visual C# .NET WinForms and ASP.NET WebForms project. Free online C# class source code for deleting specified PDF pages in .NET
acrobat remove text from pdf; erase pdf text online
VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.
Enable specified pages deleting from PDF in Visual Basic .NET Online source codes for quick evaluation in VB.NET for a solution to conveniently delete one page
how to delete text in a pdf file; how to delete text from pdf
Chapter17-HTMLFunctions
Remarks
Table17.8:CIMGLOW_set_html_page_size_ratio_capabilityfunctionvariable
descriptions.
Variable
Description
isEnabled
Setthevalueto0todisable.Setthevalueto1to
enable.Thedefaultvalueis1.
Returns
ReturnsthestatusoftheSnowbounderrorcode.Avalueof0or1indicatessuccess.Anyvalue
lessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralist
oferrorcodes.
CIMGLOW_set_html_screen_dpi()
ThisfunctionsetsthescreenDPIusedforlayoutpurposes.
Syntax
int SNBDAPI CIMGLOW_set_html_screen_dpi(Double screen_dpi);
Remarks
Table17.9:CIMGLOW_set_html_screen_dpifunctionvariabledescriptions.
Variable
Description
screen_dpi
SetthescreenDPI.Thedefaultvalueis94.0.
Note:Thevalueisignoredifthepixelwidthissetto
anythingbutzero(0).
Returns
ReturnsthestatusoftheSnowbounderrorcode.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_html_use_page_breaks_exclusively()
CIMGLOW_set_html_use_page_breaks_exclusively()
Thisfunctionenablesordisablestheabilitytoforcetheexclusiveuseofprintpagebreaksto
signalpageboundaries.
Syntax
int SNBDAPI CIMGLOW_set_html_use_page_breaks_exclusively(int
isEnabled);
104
C# HTML5 PDF Viewer SDK to create PDF document from other file
ONLINE DEMOS: Online HTML5 Document Viewer; Online XDoc.PDF C# Page: Insert PDF pages; C# Page: Delete PDF pages; C# PDF Viewer; VB.NET: ASP.NET PDF Editor; VB.NET
how to edit and delete text in pdf file online; delete text pdf files
C# PDF insert text Library: insert text into PDF content in C#.net
SharePoint. Able to add a single text character and text string to PDF files using online source codes in C#.NET class program. Insert
how to delete text in pdf preview; how to erase pdf text
Chapter17-HTMLFunctions
Remarks
Table17.10:CIMGLOW_set_html_use_page_breaks_exclusivelyfunctionvariable
descriptions.
Variable
Description
isEnabled
Setthevalueto0todisable.Setthevalueto1to
enable.Thedefaultvalueis1.
Note:Thisvariableisonlytobeusedinspecificcases
whereprintpagebreakstagsareused.
Returns
ReturnsthestatusoftheSnowbounderrorcode.AnyvaluelessthanzeroisaSnowbounderror
code.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_set_html_utf_bom()
ThisfunctionforcesthisUnicodeByte-Order-Mark(BOM)toallHTMLdatareadby
RasterMaster.NET.
Thebyteordermark(BOM)isaUnicodecharacterusedtosignaltheendianness(byteorder)of
atextfileorstream.ItscodepointisU+FEFF.BOMuseisoptional,and,ifused,shouldappear
atthestartofthetextstream.Beyonditsspecificuseasabyte-orderindicator,theBOM
charactermayalsoindicatewhichoftheseveralUnicoderepresentationsthetextisencoded
in.
SinceUnicodecanbeencodedas16-bitor32-bitintegers,acomputerreceivingUnicodetext
fromarbitrarysourcesneedstoknowwhichbyteordertheintegersareencodedin.TheBOM
givestheproducerofthetextawaytodescribethetextstream'sendiannesstotheconsumer
ofthetextwithoutrequiringsomecontractormetadataoutsideofthetextstreamitself.Once
thereceivingcomputerhasconsumedthetextstream,itpresumablyprocessesthecharacters
initsownnativebyteorderandnolongerneedstheBOM.HencetheneedforaBOMarisesin
thecontextoftextinterchange,ratherthaninnormaltextprocessingwithinaclosed
environment.
Syntax
int SNBDAPI CIMGLOW_set_html_utf_bom(int utf_bom);
Remarks
Table17.11:CIMGLOW_set_html_utf_bomFunctionVariables
Variable
Description
utf_bom
Maybesettooneofthefollowingvaluesasdefinedin
imglib.h:
PleaseseeTable17-12forbyteordermarksbyencoding.
105
VB.NET PDF Text Extract Library: extract text content from PDF
Best VB.NET PDF text extraction SDK library and component for free download. Online Visual Basic .NET class source code for quick evaluation.
how to remove text watermark from pdf; remove text from pdf
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.
delete text from pdf with acrobat; how to delete text in pdf converter professional
Chapter17-HTMLFunctions
Variable
Description
NOT_UNICODE
0
UTF_8
1
UTF_16BE
2
UTF_16LE
3
UTF_32BE
4
UTF_32LE
5
UTF_7
6
UTF_1
7
UTF_EBCDIC
8
SCSU
9
BOCU_1
10
B_17030
11
Table17.12:Representationsofbyteordermarksbyencoding
Encoding
Representation
(hexadecimal)
Representation
(decimal)
Representation
(ISO-8859-1)
UTF_8
EFBBBF
 1
239177191

UTF_16BE
FEFF
254255
þÿ
UTF_16LE
FFFE
255254
ÿþ
UTF_32BE
0000FEFF
00254255
??þÿ(?istheasciinull
character)
UTF_32LE
FFFE0000
25525400
ÿþ??(?istheasciinull
character)
UTF_72
2B2F76,andoneof
thefollowing:
[ 38|39|2B|2F]
4347117,andoneofthe
following:
[56|57|43|47]
+/v,andoneofthefollowing:
89+/
UTF_1
F7644C
24710076
÷dL
UTF_EBCDIC
DD736673
221115102115
Ýsfs
SCSU
0EFEFF3
14254255
?þÿ(?istheascii"shiftout"
106
Chapter17-HTMLFunctions
Encoding
Representation
(hexadecimal)
Representation
(decimal)
Representation
(ISO-8859-1)
character)
BOCU_1
FBEE28optionally
followedbyFF4
25123840optionally
followedby255
ûî( optionallyfollowedbyÿ
GB_17030
84319533
1324914951
□1■3(□and■areunmapped
ISO-8859-1characters)
1WhileidentifyingtextasUTF-8,thisisnotreallya"byteorder"mark.Sincethebyteisalsothe
wordinUTF-8,thereisnobyteordertoresolve.
2InUTF-7,thefourthbyteoftheBOM,beforeencodingasbase64,is001111xxinbinary,and
xxdependsonthenextcharacter(thefirstcharacteraftertheBOM).Hence,technically,the
fourthbyteisnotpurelyapartoftheBOM,butalsocontainsinformationaboutthenext(non-
BOM)character.Forxx=00,01,10,11,thisbyteis,respectively,38,39,2B,or2Fwhen
encodedasbase64.Ifnofollowingcharacterisencoded,38isusedforthefourthbyteandthe
followingbyteis2D.
3SCSUallowsotherencodingsofU+FEFF,theshownformisthesignaturerecommendedin
UTR#6.
4ForBOCU-1asignaturechangesthestateofthedecoder.Octet0xFFresetsthedecoderto
theinitialstate.
Returns
ReturnsthestatusoftheSnowbounderrorcodeorthecurrentBOMthesystemwilluse.See
Appendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
107
Chapter18-OpenOffice2007XML(OOXML)Functions
Chapter 18 - Open Office 2007 XML
(OOXML) Functions
ThischapterdescribestheRasterMaster.NETOfficeOpenXML(OOXML)formatfunctions.
RasterMaster.NETMicrosoftOfficepluginsupportstheseamlessconversionofWord2007
andExcel2007documentswhichusetheOOXMLformat.Thesedocumentsarefrequently
storedwiththefileextension.docx/.xlsx.
TheCIMG_
decompress_
bitmap
()
functionwillautomaticallydetectOOXMLformatdocuments
andprocessthemwhentheDOCXlibraryfilehasbeeninstalledandregisteredwith
RasterMaster.NET.IftheOffice2010optionevaluationlicenseisnotfoundbyRasterMaster
.NET,thesystemwillreturntheerrorcodeDLL_NOT_LOADED(-24).
CIMGLOW_set_ooxml_license()
ThisfunctionloadstheOOXMLlicensefile.
Note:
PleaseuseCIMGLOW_
ooxml_
license_
enable
()
toenablethelicensefile.CIMGLOW_
license_enable()onlyneedstobecalledoncetocoveralloftheOfficetypes:Word,
Excel,andPPT.
Syntax
int CIMGLOW_set_ooxml_license(String licenseFile);
Remark
Table18.1:CIMGLOW_set_ooxml_licensefunctionvariabledescriptions.
Variable
Description
licenseFile
Filenameofthelicensefile.Forexample:
c:\\temp\\license.txt
Returns
Returnsthelasterrorencounteredwhileloadingtheproducts.Theerrorreturnedwillbeforthe
lastproductthatwasloaded.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
CIMGLOW_ooxml_license_enable()
ThisfunctionsimplifiesOffice2010optionevaluationlicensingbysettingthelicensepath.
108
Chapter18-OpenOffice2007XML(OOXML)Functions
Syntax
int CIMGLOW_ooxml_license_enable(char* licensePath, int
nPathLength);
Remark
Table18.2:CIMGLOW_ooxml_license_enable FunctionVariable
Variable
Description
licensePath
Buffertoreceivepathnameoffoldercontainingthelicensefileor
NULLifnolicensesfound.Thisbuffermustbeallocatedbycalling
application.
Returns
ReturnsthestatusoftheSnowbounderrorcode.Ifnolicensefileisfound,returns-52,
OOXML_LICENSE_NOT_FOUND.Ifalicenseisfoundbutisinvalid,returns-53,OOXML_
LICENSE_EXPIRED.AnyvaluelessthanzeroisaSnowbounderrorcode.SeeAppendix
H,
Snowbound
Error
Codes
foralistoferrorcodes.
109
Chapter19-ImageSavingFunctions
Chapter 19 - Image Saving Functions
ThischapterdescribesRasterMaster.NETimagesavingfunctions.
CIMG_save_bitmap()
Thisfunctionsavesanimagetodiskinanyformatdesired.Itsupportsunicodefilenameinput.
Youcansaveimagesasblackandwhite,grayscaleorcolorbyspecifyingtheappropriatebit
depthandchoosinganoutputformatthatsupportsthatbitdepth.
SeeChapter
30,
Color
Promotion
Functions
andChapter
31,
Color
Reduction
Functions
for
moreinformationonchangingthecolorandbit-depthofanimage.SeetheSupportedBit
DepthsforImageFormatsinAppendix
B,
Supported
File
Format
fordetailsonwhatbit-depths
areavailableforeachformat.
OnewaytodecreasetheoutputfilesizeistouseCIMGLOW_
set_
document_
input
tospecifya
lowerDPIbeforeopeningtheinputfilewithCIMG_
decompress_
bitmap
.Whensavingtoa
JPEGfileformat,youcandecreasethefilesizebydecreasingthequalitylevelofthe
compressionusingtheCIMGLOW_
set_
comp_
quality
method.
YoucanfindthesamplesforusingthisfunctioninthefollowingdirectoryC:\Program
Files\Snowbound Software\RasterMaster® .NET Evaluation\Net\Samples.
Thisfunctionisusedinthefollowingsamples:
l
ASP
Conversion
l
ASP
Memory
Copy
l
Batch_
XPS_
Convert
l
Conversion
l
Convert_
Doc
l
Encryption
l
Merge
Image
l
Scan
l
Split
to
Multiple
Pages
l
WPFAnnotation_
CSHARP
l
WPFConversion_
CSHARP
110
Documents you may be interested
Documents you may be interested