open pdf from windows form c# : Erase pdf text online SDK Library API .net asp.net azure sharepoint RasterEdgeImagingDeveloperGuide9-part1696

//l
oad
a
 DCMD
ocu
m
en
DCMD
ocu
m
en
doc
=
ne
w DCMD
ocu
m
en
t(@
"c
:\
a
.
dc
m
"
); 
// 
conve
rt 
d
i
co
docu
m
en
t t
o
 im
age
s
 i
n
png
 f
o
rm
a
and
s
ave
 it 
unde
s
pec
ifi
ed
d
ir
ec
t
o
r
y
and
na
m
e
doc
.
C
onve
rt
To
Im
age
s(R
a
s
t
e
r
Edge
.Im
ag
i
ng
.
B
a
s
i
c
.Im
ageType
.
P
NG, @
"c
:\
d
i
co
m
"
"d
i
co
m
"
); 
Or You can get a specific page to convert 
sample code: 
//l
oad
a
 DCMD
ocu
m
en
            DCMD
ocu
m
en
doc
=
ne
w DCMD
ocu
m
en
t(@
"c
:\
a
.
dc
m
"
); 
             // 
ge
t firs
page
            DCM
Page
page
=
 (DCM
Page
)
doc
.G
e
t
Page
(
0
); 
            // 
conve
rt t
he
 firs
page
page
.
C
onve
rt
To
Im
age
(R
a
s
t
e
r
Edge
.Im
ag
i
ng
.
B
a
s
i
c
.Im
ageType
.
P
NG, @
"c
:\
d
i
co
m
1
.
png"
); 
You can adjust window center and window width values for Dicom image. It is similar to the 
notions of contrast and brittleness in common image processing. 
//l
oad
a
 DCMD
ocu
m
en
DCMD
ocu
m
en
doc
=
ne
w DCMD
ocu
m
en
t(@
"c
:\
a
.
dc
m
"
); 
 // 
ge
t firs
page
DCM
Page
page
=
 (DCM
Page
)
doc
.G
e
t
Page
(
0
); 
 //
you
can
ge
t r
eco
mm
ended
 r
ange
 f
o
va
l
ue
o
f wi
ndo
w wi
d
t
h
and
 wi
ndo
cen
t
e
i
n
t[] 
cen
t
e
rR
ange
=
page
.G
e
tR
eco
mm
ended
Wi
ndo
wC
en
t
e
r(); 
i
n
t[] wi
d
t
h
R
ange
=
page
.G
e
tR
eco
mm
ended
Wi
ndo
wWi
d
t
h
(); 
// 
Fo
r ill
u
s
tr
a
ti
on
pu
r
po
s
e
 w
e
choo
s
e
 r
ando
va
l
ue
 i
n
 t
he
 r
ange
R
ando
m r
ando
mG
ene
r
a
t
e
=
ne
R
ando
m(); 
i
n
t r
ando
mC
en
t
e
=
 r
ando
mG
ene
r
a
t
e
r.N
ex
t(
cen
t
e
rR
ange
[
0
], 
cen
t
e
rR
ange
[
1
]); 
i
n
t r
ando
mWi
d
t
h
=
 r
ando
mG
ene
r
a
t
e
r.N
ex
t(wi
d
t
h
R
ange
[
0
], wi
d
t
h
R
ange
[
1
]); 
// 
ge
R
E
Im
age
 wit
h
s
pec
ifi
ed
va
l
ue
s
o
f wi
d
t
h
and
cen
t
e
R
E
Im
age
 im
g
=
page
.G
e
tM
od
ifi
ed
R
E
Im
age
(r
ando
mWi
d
t
h
, r
ando
mC
en
t
e
r); 
//
s
ave
 t
he
 im
age
 i
n
 fil
e
im
g
.
Save
(R
a
s
t
e
r
Edge
.Im
ag
i
ng
.
B
a
s
i
c
.Im
ageType
.
P
NG, @
"c
:\
d
i
co
m.
png"
); 
Erase pdf text online - 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 with acrobat; how to delete text from a pdf document
Erase pdf text online - 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 from pdf reader; erase text in pdf document
Convert
DICOM
to
Bitmap
In .Net framework Bitmap is a frequently used class in image processing.  If you don’t need to 
adjust the rendering parameters like window width and center, the method is returned with a 
better performance. 
          //l
oad
a
 DCMD
ocu
m
en
            DCMD
ocu
m
en
doc
=
ne
w DCMD
ocu
m
en
t(@
"c
:\
a
.
dc
m
"
); 
             // 
ge
t firs
page
            DCM
Page
page
=
 (DCM
Page
)
doc
.G
e
t
Page
(
0
); 
            // 
conve
rt t
he
 firs
page
 t
o
b
itm
ap
Bitm
ap
 im
g
=
page
.G
e
tBitm
ap
(); 
            //// 
zoo
m i
n
/
ou
t wit
h
a
 f
ac
t
o
             //Bitm
ap
 im
g1
=
page
.G
e
tBitm
ap
(
2
.
0
f); 
             //// 
s
ou
r
ce
pa
rt 
o
f t
he
o
ri
gna
page
and
 r
ende
r
ed
 t
o
a
 t
a
r
ge
s
i
ze
            //i
n
o
ri
gna
lWi
d
t
h
=
 (i
n
t)
page
.G
e
tWi
d
t
h
(); 
             //i
n
o
ri
gna
lH
e
i
gh
=
 (i
n
t)
page
.G
e
tH
e
i
gh
t(); 
             //Bitm
ap
 im
g2
=
page
.G
e
tBitm
ap
(
ne
R
ec
t
ang
l
e
(
0
0
o
ri
gna
lWi
d
t
h
 / 
2
o
ri
gna
lH
e
i
gh
t), 
ne
S
i
ze
(
o
ri
gna
lWi
d
t
h
o
ri
gna
lH
e
i
gh
t));
Convert
Dicom
to
Tiff
or
PDF
file
You can convert Dicom to tiff or pdf file. You can also add annotations to dicom file and saved 
them as pdf or tiff file. See annotation demo at http://www.rasteredge.com/dotnet-
imaging/web-viewer-demo/ 
Sample Code: 
//i
nvoke
 t
h
i
s
 m
e
t
hod
on
l
y
once
a
t t
he
beg
i
nn
i
ng
o
you
code
 r
eg
i
s
t
e
a
ll 
a
ss
e
m
b
li
e
s
you
r
e
f
e
r
enced
by
you
p
r
o
j
ec
            W
o
r
k
R
eg
i
s
tr
y
.
R
e
s
e
t(); 
            //l
oad
a
 DCMD
ocu
m
en
            DCMD
ocu
m
en
doc
=
ne
w DCMD
ocu
m
en
t(@
"c
:\
a
.
dc
m
"
); 
            //
conve
rt 
d
i
co
m t
o
pd
doc
.
C
onve
rt
To
D
ocu
m
en
t(D
ocu
m
en
t
Type
.
P
D
F
, @
"c
:\
s
a
m
p
l
e
.
pd
f
"
); 
            ////
conve
rt 
d
i
co
m t
o
 tiff 
            //
doc
.
C
onve
rt
To
D
ocu
m
en
t(D
ocu
m
en
t
Type
.
P
D
F
, @
"c
:\
s
a
m
p
l
e
.tiff
"
);
C# HTML5 Viewer: Load, View, Convert, Annotate and Edit PDF
Redact tab on viewer empower users to redact and erase PDF text, erase PDF images and erase PDF pages online. Miscellaneous. • RasterEdge XDoc.
delete text pdf preview; delete text from pdf online
C# WinForms Viewer: Load, View, Convert, Annotate and Edit PDF
Draw PDF markups. PDF Protection. • Sign PDF document with signature. • Erase PDF text. • Erase PDF images. • Erase PDF pages. Miscellaneous.
delete text from pdf preview; delete text pdf
If 
you
need
gene
r
a
t
e
 t
he
 tiff fil
e
 wit
h
a
g
r
ea
t
e
r r
e
s
o
l
u
ti
on
 (
o
b
i
gge
s
i
ze
you
can
u
s
e
 t
he
f
o
ll
o
wi
ng
code
 t
o
gene
r
a
t
e
an
x2
 r
e
s
o
l
u
ti
on
 tiff. 
doc
.
C
onve
rt
To
D
ocu
m
en
t(D
ocu
m
en
t
Type
.
T
I
FF
2
.
0
f, @
"
C:\
x2
.tif
"
); 
C# WPF Viewer: Load, View, Convert, Annotate and Edit PDF
Draw markups to PDF document. PDF Protection. • Add signatures to PDF document. • Erase PDF text. • Erase PDF images. • Erase PDF pages. Miscellaneous.
online pdf editor to delete text; deleting text from a pdf
C# HTML5 PDF Viewer SDK to view, annotate, create and convert PDF
setting PDF file permissions. Help C# users to erase PDF text content, images and pages online in ASP.NET. RasterEdge C#.NET HTML5
how to edit and delete text in pdf file online; how to remove highlighted text in pdf
JBIG2
JBIG2
Codec
Overview
RasterEdge  Image  JBIG2 codec can  be used  to decode  and encode JBIG2 images using  the 
Microsoft .NET Framework. JBIG2 compression is an open standard and can compress bitonal 
images 2-5 times more than the same image compressed with the industry standard TIFF CCIT 
Group4 compression. This codec is available as a plug-in that integrates with RasterEdge Image 
seamlessly.  
Feature
List
z
Able to decode any page from a 1-bit JBIG2 image 
z
Encode a single or multi-page document as JBIG2 image(s) or image only PDF document 
z
Support lossless and lossy compressions 
z
Support encoding and decoding from any stream 
z
Read a specified region from an existing JBIG2 image stream 
z
Generate image only PDF document with embedded JBIG2 image(s) 
z
Integrated with RasterEdge PDFEncoder to encode PDF images with other compression 
formats. 
How
to
Decode
an
JBIG2
Image
Sample Code: 
// i
nvoke
 t
h
i
s
 m
e
t
hod
on
l
y
once
 i
n
 t
he
beg
i
nn
i
ng
o
you
code
 r
eg
i
s
t
e
a
ll 
a
ss
e
m
b
li
e
s
you
r
e
f
e
r
enced
 t
o
you
p
r
o
j
ec
W
o
r
k
R
eg
i
s
tr
y
.
R
e
s
e
t(); 
//
decode
 im
age
 i
n
 j
b
i
g2
 f
o
rm
a
t  
R
E
Im
age
 im
g
=
ne
R
E
Im
age
(@
"c
:\
s
a
m
p
l
e
.j
b2"
, Im
ageType
.
JBIG
2
); 
// 
s
ave
 t
he
 im
age
 i
n
png
 f
o
rm
a
im
g
.
Save
(Im
ageType
.
P
NG, @
"c
:\
s
a
m
p
l
e
M
od
ifi
ed
.
png"
); 
C# PDF Text Redact Library: select, redact text content from PDF
application. Free online C# source code to erase text from adobe PDF file in Visual Studio. NET class without adobe reader installed.
pdf text remover; how to delete text from a pdf in acrobat
C# PDF Image Redact Library: redact selected PDF images in C#.net
Viewer, C# Online Dicom Viewer, C# Online Jpeg images as text redaction, you can specify custom text to appear How to Erase PDF Images in .NET Using C# Class
how to delete text from pdf; remove text from pdf
JPEG
2000
JPEG
2000
Codec
Overview
RasterEdge JPEG 2000 codec can be used to decode and encode JPEG 2000 images using the 
Microsoft .NET Framework. It uses wavelet compression technology to compress photo graphic 
images further than any other available compression schemes. This codec is available as a plug-
in and integrates with RasterEdge seamlessly.  
Feature
List
x
Able to decompress JPEG2000 images stored in any compatible jp2, j2k or code stream 
x
Support decoding JPEG2000 directly to 8-bit grayscale, 24-bit RGB, 16-bit grayscale, and 
48-bit RGB 
x
Lossless compression 
How
to
Decode
ɷ
JPEG
2000
Image
Sample Code: 
// i
nvoke
 t
h
i
s
 m
e
t
hod
on
l
y
once
 i
n
 t
he
beg
i
nn
i
ng
o
you
code
 r
eg
i
s
t
e
a
ll 
a
ss
e
m
b
li
e
s
you
r
e
f
e
r
enced
 t
o
you
p
r
o
j
ec
W
o
r
k
R
eg
i
s
tr
y
.
R
e
s
e
t(); 
//
decode
 im
age
 i
n
 j
peg2000
 f
o
rm
a
t  
R
E
Im
age
 im
g
=
ne
R
E
Im
age
(@
"c
:\
s
a
m
p
l
e
.j
px"
, Im
ageType
.
J
PE
G
2000
); 
// 
s
ave
 t
he
 im
age
 i
n
png
 f
o
rm
a
im
g
.
Save
(Im
ageType
.
P
NG, @
"c
:\
s
a
m
p
l
e
M
od
ifi
ed
.
png"
);
How to C#: Special Effects
Erase. Set the image to current background color, the background color can be set by:ImageProcess.BackgroundColor = Color.Red. Encipher.
delete text pdf acrobat professional; how to delete text in pdf document
Customize, Process Image in .NET Winforms| Online Tutorials
Include crop, merge, paste images; Support for image & documents rotation; Edit images & documents using Erase Rectangle & Merge Block function;
how to delete text in pdf using acrobat professional; how to erase text in pdf
RasterEdge
OCR
RasterEdge OCR SDK provides you with the functions to recognize characters out of images and 
documents types that are supported by RasterEdge Document imaging SDK. 
OCRHandle
This class is the utility class. 
Public methods 
Import(override +5) 
Create an OCRDocument / OCRPage instance by input image. 
e. 
Reset 
Reset recognizing setting and output setting to default values. 
es. 
SetTrainResourcePath 
Change the path of those training resource files, the recourse path 
ourse path 
should be the path of folder include those trained data files (with 
file extension ‘.traineddata’).  Default: 
All trained data files should be put in a folder called "Source", and 
this “Source” folder MUST BE put in the same dictionary as the 
assemblies. 
Translate(override +3) 
Recognize all characters in images, and save the results into 
PDF/SVG/TXT file/stream. 
Public Properties 
Settings 
Sets/gets the settings applying in the recognizing process. 
process. 
OCRRecSetting
You can set the OCR recoginition setting of the OCR entities in any level, namely OCRHandler, 
OCRDocument, OCRPage and OCRZone. The setting in the lower level entity overrides that in the 
higher one. 
Below is a table to describe the attributes in OCRRecSetting Class 
Enabled 
Specifies if this setting is valid or not. Default is false for all OCR 
or all OCR 
entities except for OCRHandler 
LanguagesEnabled 
Specifies the languages used in the recognition.  
n.  
Tradeoff 
The value could be Default/Fast/Accurate. 
Fast: spends the least time to scan the source image. 
Accurate: gets the most accurate result. 
Default: balances between time consuming and accurate. 
DefaultFilter 
These properties would define a set of valid characters. The result 
characters MUST BE in this set. 
AdditionalFilters 
DefaultUnkownChar 
If a character is not a valid character, it would be replaced by this 
this 
.NET Imaging Processing SDK | Process, Manipulate Images
Basic image edit function support, such as Erase Rectangle, Merge Block, etc Go to our Online Tutorials to find detailed user guide and check out how much they
how to erase pdf text; how to erase text in pdf online
DefaultUnkownChar. 
Default: [space]  
class
OCRPage
OCRPage may contain a collection of OCRZone, the zones will not recognize unless the property 
RecognizeZoneOnly is true. You can get an instance by invoking OCRHanle.Import or 
OCRDocument.GetPage
Public Methods 
CreateZone 
Create a zone in the page. 
GetZoneText 
Get recognition result of the zone by its index. 
Recognize 
Recognize the page. Returns 0 if recognition is success. 
SaveTo(override +2) 
Convert recognize results to PDF/SVG/TXT format and save into a 
file/stream. 
You MUST invoke Recognize before calling this method. 
Public Properties 
RecSettings 
Sets/gets settings in page recognizing process.  
.  
If this setting is disabled (property Enabled is false), it would use the 
settings defined in OCRHanle.setting during the page recognizing 
process. 
OutputSettings 
Sets/gets the settings of the output (Not Implemented Yet). 
Width 
Page width. 
Height 
Page height. 
RecognizeZoneOnly 
If this property is true, only the zones in the page will be recognized 
zed 
during the page recognizing process. 
Otherwise, the whole page will be processed. 
Zones 
Returns the zones in the page. 
OCRZone will use OCRPage.RecSetting in recognize process if RecSetting.Enabled of themselves 
is false. 
Multi-Language
support
RasterEdge OCR module support recognizing different languages, the table below illustrates the 
supported language types, the corresponding abbreviations (used in API as string parameter) 
and source (trained data) file name  
Supported Languages 
Abbreviation 
traineddata 
English
eng 
eng.traineddata 
Spanish 
spa
spa.traineddata 
French
fra 
fra.traineddata 
German
deu
deu.traineddata 
Italian
ita
ita.traineddata 
Russian 
rus
rus.traineddata 
Portuguese
por
por.traineddata 
Dutch
nld
nld.traineddata 
Arabic 
ara 
ara.traineddata 
Korean 
kor 
kor.traineddata 
Source
Preparation
OCR Source files for different languages can be found in the download package under  
RasterEdge.DocImageSDK\Source 
Before you use OCR functionality, you may specify the source directory using the following code 
(For APS.NET Project this is a must 
pub
li
c
s
t
a
ti
c
 i
n
Se
t
T
r
a
i
n
R
e
s
ou
r
cePa
t
h
(s
tri
ng
s
trR
e
s
ou
r
ce
); 
By default, if your application is a desktop application  the source directory is set to the directory 
of application.  That is [applicationFolder]\Source\ 
For example if you want to recognize English characters, make sure the file eng.traineddata is 
retrivable in the following path [applicationFolder]\Source\ eng.traineddata 
The following pictures as an illustratio
For ASP.NET project, you should
s
e
the source directory using the following code 
pub
li
c
s
t
a
ti
c
 i
n
Se
t
T
r
a
i
n
R
e
s
ou
r
cePa
t
h
(s
tri
ng
s
trR
e
s
ou
r
ce
); 
PDF
and
TIFF
files
OCR
You can recognize characters from a pdf or tiff files. 
Sample code: 
//
Se
t t
he
 tr
a
i
n
i
ng
da
t
a
pa
t
h
p
l
ea
s
e
pu
eng
.tr
a
i
nedda
t
a
 (f
o
eng
li
s
h
//
unde
r t
he
pa
t
h
s
pec
ifi
ed
         OCRH
and
l
e
r.
Se
t
T
r
a
i
n
R
e
s
ou
r
cePa
t
h
(@
"c
:\
s
ou
r
ce"
); 
                // 
s
e
s
uppo
rt
ed
 l
anguage
you
can
a
l
s
o
s
e
t t
h
i
s
a
ttri
bu
t
e
 i
n
 OCR
Page
o
OCR
Zone
                OCRH
and
l
e
r.
Se
tti
ng
s
.
Language
s
Enab
l
ed
.A
dd
(
Language
.
F
r
a
); 
                //l
oad
pd
o
r tiff 
docu
m
en
P
D
F
D
ocu
m
en
doc
=
ne
P
D
F
D
ocu
m
en
t(@
"
C:\
s
a
m
p
l
e
.
pd
f
"
); 
                //
T
I
FF
D
ocu
m
en
doc
=
ne
T
I
FF
D
ocu
m
en
t(@
"c
:\
s
a
m
p
l
e
.tif
"
); 
                // l
oad
 t
he
 firs
page
 t
o
R
econgn
i
ze
P
D
FPage
page
=
 (
P
D
FPage
)
doc
.G
e
t
Page
(
0
); 
                //
T
I
FFPage
page
=
 (
T
I
FFPage
)
doc
.G
e
t
Page
(
0
); 
                //r
a
s
t
e
ri
ze
 t
he
page
 wit
h
a
 r
e
s
o
l
u
ti
on
 m
u
lti
p
Bitm
ap
b
m
p
=
page
.G
e
tBitm
ap
(
1
.
5
f); 
                // im
po
rt t
he
page
 t
o
 r
ecog
i
nze
               OCR
Page
oPage
=
 OCRH
and
l
e
r.Im
po
rt(
b
m
p
); 
oPage
.
R
ecogn
i
ze
(); 
                // 
s
ave
oc
r r
e
s
u
lt 
a
s
o
t
he
docu
m
e
t f
o
rm
a
t(t
x
pd
f, 
s
vg
). 
oPage
.
SaveTo
(MIM
EType
.
T
X
T
,@
"c
:\
s
a
m
p
l
e
.t
x
t
"
); 
                 //
o
you
can
ou
t
pu
t t
he
 t
ex
d
ir
ec
tl
y
C
on
s
o
l
e
.Writ
eL
i
ne
(
oPage
.G
e
t
Tex
t()); 
Image
OCR
You can recognize characters from common image formats such as png, jpeg, bmp, gif and other 
image formats supported by RasterEdge Imaging SDK 
Sample code: 
         //r
eg
i
s
t
e
a
ll r
e
f
e
r
enced
R
a
s
t
e
r
Edg
d
ll
s
       W
o
r
k
R
eg
i
s
tr
y
.
R
e
s
e
t(); 
Documents you may be interested
Documents you may be interested