pdf viewer control in c# : Add picture to pdf software control project winforms azure web page UWP aspEasyPDF30-part252

Constant Definition
ID
203
Name
csPropMarRight
Type
Float
GetProperty
SetProperty
Sets the margin of the text from the right side.
As this can act on the actual page you can use it to dynamically change it to set columns or paragraphs indents.
See also:
SetMargins
csPropMarLeft
csPropMarTop
csPropMarBottom
Applies to:
AddText
AddHTML
AddLink
AddGraphic
- aspEasyPDF - 
301 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
Add picture to pdf - insert images into PDF in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Sample C# code to add image, picture, logo or digital photo into PDF document page using PDF page editor control
how to add a jpg to a pdf; add signature image to pdf
Add picture to pdf - VB.NET PDF insert image library: insert images into PDF in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Guide VB.NET Programmers How to Add Images in PDF Document
add image in pdf using java; adding images to pdf files
Constant Definition
ID
202
Name
csPropMarTop
Type
Float
GetProperty
SetProperty
Sets the margin from the top of the page
See also:
SetMargins
csPropMarLeft
csPropMarRight
csPropMarBottom
Applies to:
AddText
AddHTML
AddLink
AddGraphic
- aspEasyPDF - 
302 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
C# TIFF: How to Insert & Burn Picture/Image into TIFF Document
Support adding image or picture to an existing or new new REImage(@"c:\ logo.png"); // add the image powerful & profession imaging controls, PDF document, tiff
how to add image to pdf file; add image to pdf acrobat reader
VB.NET Image: Image Cropping SDK to Cut Out Image, Picture and
VB.NET image cropper control SDK; VB.NET image cropping method to crop picture / photo; you can adjust the size of created cropped image file, add antique effect
add an image to a pdf in preview; add photo to pdf online
Constant Definition
ID
204
Name
csPropMarBottom
Type
Float
GetProperty
SetProperty
Sets the margin from the bottom of the page
See also:
SetMargins
csPropMarLeft
csPropMarRight
csPropMarTop
Applies to:
AddText
AddHTML
AddLink
AddGraphic
- aspEasyPDF - 
303 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
VB.NET TIFF: How to Draw Picture & Write Text on TIFF Document in
drawing As RaterEdgeDrawing = New RaterEdgeDrawing() drawing.Picture = "RasterEdge" drawing provide powerful & profession imaging controls, PDF document, tiff
add jpg to pdf; how to add an image to a pdf file in acrobat
VB.NET Image: VB.NET Codes to Add Antique Effect to Image with .
mature technology to replace a picture's original colors add the glow and noise, and add a little powerful & profession imaging controls, PDF document, image
add photo to pdf; add photo to pdf in preview
Constant Definition
ID
205
Name
csPropPosX
Type
Float
GetProperty
SetProperty
Note: From version 2.0 you can use the direct properties:  
PosXCursor
and  
PosYCursor
This property controls the cursors inside the page, this is quite useful to use it in combination with the 
AddText
method. You have two options to position text on the document, the 
AddTextPos
, that gives you the option to print
everywhere with cursor position and the 
AddText
, that adds consecutive blocks of text on the page.
If you work with the 
AddText
you may need some times to control the cursors, knowing where we are putting the text
and changing it to another position to take it faster to that place. 
This property controls and changes each time we insert text on the page the X Cursor, Horizontal position. This affects
to the 
AddText
AddGraphic
AddLink
and 
AddHTML
.
Example:
' Where we are?
XPos = PDF.GetProperty(csPropPosX
)
' Move it 10 PDF unit
XPos = XPos + PDF.cnvUnitmm (10)
PDF.SetProperty csPropPosX, XPos
PDF.AddText "Hello world"
See also:
PosXCursor
PosYCursor
csPropPosY
Applies to:
AddText
AddHTML
AddLink
AddGraphic
- aspEasyPDF - 
304 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
VB.NET Image: Image Scaling SDK to Scale Picture / Photo
Framework application; VB.NET sample code for how to scale image / picture; Frequently asked questions about RasterEdge VB.NET image scaling control SDK add-on.
add image pdf; add image to pdf online
VB.NET Image: Create Code 11 Barcode on Picture & Document Using
file, apart from above mentioned .NET core imaging SDK and .NET barcode creator add-on, you also need to buy .NET PDF document editor add-on, namely, RasterEdge
how to add image to pdf in acrobat; add photo pdf
Constant Definition
ID
206
Name
csPropPosY
Type
Decimal
GetProperty
SetProperty
This property controls the cursors inside the page, this is quite useful to use it in combination with the 
AddText
method. You have two options to position text on the document, the 
AddTextPos
, that gives you the option to print
everywhere with cursor position and the 
AddText
, that adds consecutive blocks of text on the page.
If you work with the 
AddText
you may need some times to control the cursors, knowing where we are putting the text
and changing it to another position to take it faster to that place. 
This property controls and changes each time we insert text on the page the Y Cursor, vertical position. This affects to
the 
AddText
AddGraphic
AddLink
and 
AddHTML
.
Example:
' Jump to 100 mm from the top
PDF.SetProperty csPropPosY, cnvUnitmm(100)
PDF.AddText "Hello world"
See also:
PosXCursor
PosYCursor
csPropPosX
Applies to:
AddText
AddHTML
AddLink
AddGraphic
- aspEasyPDF - 
305 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
C# Word - Paragraph Processing in C#.NET
Add references: C# users can set paragraph properties and create content such as run, footnote, endnote and picture in a paragraph.
how to add a picture to a pdf file; add a jpg to a pdf
VB.NET Image: Image Resizer Control SDK to Resize Picture & Photo
NET Method to Resize Image & Picture. Here we this VB.NET image resizer control add-on, can provide powerful & profession imaging controls, PDF document, image
adding a jpg to a pdf; add a picture to a pdf file
Constant Definition
ID
100
Name
csPropTextFont
Type
String
Default
F1
GetProperty Yes
SetProperty
Yes
Set the default font to use when printing on the document.
This specification works for AddTextPos
and AddText
methods.
The Standard Type 1 Fonts
The PostScript names of 14 Type 1 fonts, known as the standard fonts , are as follows:
Font Names
Name
Font Type
F1
Courier 
F2
Courier-Bold 
F3
Courier-Oblique 
F4
Courier-BoldOblique 
F5
Helvetica 
F6
Helvetica-Bold
F7
Helvetica-Oblique
F8
Helvetica-BoldOblique 
F9
Times-Roman 
F10
Times-Bold
F11
Times-Italic
F12
Times-BoldItalic
F13
Symbol
F14
ZapfDingbats
These fonts, or their font metrics and suitable substitution fonts, are guaranteed to be available to the viewer
application. If you wish to use your own True type font you can use it with the SetTrueTypeFont
, this will enable you to
add more fonts to your document.
Example:
const csPropTextFont = 100
' Write with Helvetica Font
PDF.SetProperty csPropTextFont, " F5
"
PDF.AddText " Hello world "
- aspEasyPDF - 
306 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
See also:
csPropTextSize
csPropTextColor
csPropTextUnderLine
Applies to:
AddText
AddTextPos
AddTextWidth
- aspEasyPDF - 
307 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
Constant Definition
ID
101
Name
csPropTextSize
Type
Integer
Default
10
GetProperty
SetProperty
Size of the font to be used, you can use any valid size.
Example:
const csPropTextSize = 101
PDF.SetProperty csPropTextSize, 10
PDF.AddText " Hello "
PDF.SetProperty csPropTextSize, 24
PDF.AddText " World<br> "
See also:
csPropTextFont
csPropTextColor
csPropTextUnderLine
Applies to:
AddText
AddTextPos
AddTextWidth
- aspEasyPDF - 
308 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
Constant Definition
ID
102
Name
csPropTextAlign
Type
Integer
Default
0
GetProperty
SetProperty
You can align the text with the 4 standard options to align text. Left side, this one is the default to be used. To the Right
side, you can set the margin of the right side to move the text on the page, you can add columns effects working with
both properties. Center on the page. And the last one and cosmetic the Justified.
This property as only effect with the AddText
method. You can not set align properties to the AddTextPos.
Align Property 
Description
Value
Left
0
Right
1
Center
2
Justified
3
Example:
const csPropTextAlign = 102
PDF.SetProperty csPropTextAlign, 2
PDF.AddText " Set me on the center of the
page<br> "
PDF.SetProperty csPropTextAlign, 1
PDF.AddText " I'm at right position<br> "
PDF.SetProperty csPropTextAlign, 0
PDF.AddText " Now on the left "
Applies to:
AddText
AddTextWidth
- aspEasyPDF - 
309 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
Constant Definition
ID
103
Name
csPropTextColor
Type
String (Color)
Default
#000000
GetProperty
SetProperty
You set a color attribute for the actual font. The value can be any hexadecimal number, specified according to the
sRGB color space, or one of sixteen color names. Hexadecimal numbers must be prefixed by a "#" character. You can
also use color names.
Note: To insert a RGB color use the 3 hexadecimal html notation, for CMYK use 4 hexadecimal html notation, the
library will automatically switch from RGB to CYMK or vice versa.
Color Definitions
Color Name
sRGB Value
Black
#000000
Silver
#C0C0C0
Gray
#808080
White
#FFFFFF
Maroon
#800000
Red
#FF0000
Purple
#800080
Fuchsia
#FF00FF
Green
#008000
Lime
#00FF00
Olive
#0808000
Yellow
#FFFF00
Navy
#000080
Blue
#0000FF
Teal
#008080
Aqua
#00FFFFF
Example:
const csPropTextColor = 103
PDF.SetProperty csPropTextColor, "#0000FF"
PDF.AddText " I'm looking blue<br> "
PDF.SetProperty csPropTextColor, "#FF0000"
PDF.AddText " Now red <br> "
PDF.SetProperty csPropTextColor, "Black"
PDF.AddText " What about black name? "
See also:
csPropTextFont
csPropTextSize
csPropTextUnderLine
- aspEasyPDF - 
310 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
Documents you may be interested
Documents you may be interested