c# winforms pdf viewer control : Copy page from pdf application Library tool html .net web page online aspEasyPDF29-part1177

Constant Definition
ID
211
Name
csPageAutoAdd
Type
Boolean
Default
True
GetProperty
SetProperty
From version 1.5
Normally when you are using the component this automatically adds new pages when need, see AddText or AddHTML,
sometimes you don't want that the pages are inserted automatically, with this property you can controll it to enable or
disable the auto adding pages.
Applies to:
AddText
AddHTML
- aspEasyPDF - 
291 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
Copy page from pdf - application Library tool:C# PDF Page Extract Library: copy, paste, cut PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Easy to Use C# Code to Extract PDF Pages, Copy Pages from One PDF File and Paste into Others
www.rasteredge.com
Copy page from pdf - application Library tool:VB.NET PDF Page Extract Library: copy, paste, cut PDF pages in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Detailed VB.NET Guide for Extracting Pages from Microsoft PDF Doc
www.rasteredge.com
Constant Definition
ID
210
Name
csPageBackColor
Type
String (Color)
Default
#FFFFFF
GetProperty
SetProperty
This enables you to specify the color of the actual page which you are editing, not for the whole document that is been
set with the csDocuBackColor property.
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
See also
csDocuBackColor
- aspEasyPDF - 
292 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
application Library tool:VB.NET PDF copy, paste image library: copy, paste, cut PDF images
in Page. VB.NET: Copy and Paste Image in PDF Page. This VB.NET example shows how to copy an image from one page of PDF document and paste it into another page.
www.rasteredge.com
application Library tool:C# PDF copy, paste image Library: copy, paste, cut PDF images in
This C#.NET example describes how to copy an image from one page of PDF document and paste it into another page. // Define input and output documents.
www.rasteredge.com
Constant Definition
ID
212
Name
csPageCount 
Type
String
GetProperty
SetProperty
From version 1.5
Returns the number of pages that has been created on the PDF document
Note: From version 2.0 you can use the 
PageCount
property.
See also
PageCount
PageNumber
csPageNumber
- aspEasyPDF - 
293 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
application Library tool:C# PDF Image Extract Library: Select, copy, paste PDF images in C#
Document. C#.NET extract image from multiple page adobe PDF file library for Visual Studio .NET. C#: Select All Images from One PDF Page. C#
www.rasteredge.com
application Library tool:VB.NET PDF Image Extract Library: Select, copy, paste PDF images
VB.NET Project. A Visual Studio .NET PDF SDK library, able to perform image extraction from multiple page adobe PDF file in VB.NET.
www.rasteredge.com
Constant Definition
ID
209
Name
csPageHeight
Type
Decimal
GetProperty
SetProperty
Gets the actual page height, this is read only property.
You may be interested on getting the width page.
See also
csPageWidth
- aspEasyPDF - 
294 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
application Library tool:VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.
Please follow the sections below to learn more. DLLs for Deleting Page from PDF Document in VB.NET Class. How to VB.NET: Delete a Single PDF Page from PDF File.
www.rasteredge.com
application Library tool:VB.NET PDF Page Insert Library: insert pages into PDF file in vb.
PDF: Insert PDF Page. VB.NET PDF - How to Insert a New Page to PDF in VB.NET. Easy to Use VB.NET APIs to Add a New Blank Page to PDF Document in VB.NET Program.
www.rasteredge.com
Constant Definition
ID
207
Name
csPageNumber
Type
Number
GetProperty
SetProperty
Gets the actual page number, this is read only property and does not have any option to control it.
Note: From version 2.0 you can use the 
PageNumber
property directly.
See also
PageNumber
PageCount
csPageCount
- aspEasyPDF - 
295 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
application Library tool:C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
application. Able to remove a single page from PDF document. Ability Demo Code: How to Delete a Single PDF Page from PDF File in C#.NET. How to
www.rasteredge.com
application Library tool:C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
You can use specific APIs to copy and get a specific page of PDF file; you can also copy and paste pages from a PDF document into another PDF file.
www.rasteredge.com
Constant Definition
ID
208
Name
csPageWidth
Type
Decimal
GetProperty
SetProperty
Gets the actual page width, this is read only property.
You may be interested on getting the height page.
When setting the page size with PageSize
, you may need to retrieve the dimension later for use it to dynamically set
cursors or whatever.
Example:
' Do my own center page
PWidth = P DF.GetProperty( csPageWidth 
)
PText = "Hello World"
PLength = P DF.GetTextWidth( PText )
PX = (PWidth - PLength) / 2
PDF.AddTextPos  PX, 100, "Hello world"
See also
csPageHeight
- aspEasyPDF - 
296 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
Constant Definition
ID
114
Name
csPropAddText_UpdPos
Type
Integer (Bool)
Default
False
GetProperty
SetProperty
From version 1.70
This constants defines the way that the cursors are updated. The csPropPosX and csPropPosY constants are the
actual cursor positions when using AddText function. By default the AddTextPos which prints at text at a specified
position is not being altered after using it. If you set the 
csPropAddText_UpdPos
to 1 you specify that the cursors must be
also being updated after and AddTextPos or AddTextWidth is being called.
Example:
PDF.SetProperty csPropAddText_UpdPos, 0
x1 = PDF.GetProperty csPropPosX
PDF.AddTextPos 10,10,"This is a test update curors"
x2 = PDF.GetProperty csPropPosX
' x1 = x2, the cursors didn't update
PDF.SetProperty csPropAddText_UpdPos, 1
x1 = PDF.GetProperty csPropPosX
PDF.AddTextPos 10,10,"This is a test update curors"
x2 = PDF.GetProperty csPropPosX
' x1 <> x2, csPropPosX points at the end of the text that has been inserted
Applies to:
AddTextPos
AddTextWidth
- aspEasyPDF - 
297 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
Constant Definition
ID
113
Name
csPropAddTextWidth
Type
Decimal
Default
0
GetProperty
SetProperty
From version 1.6
Alters the function of AddTextWidth, you have three options:
0 - Text is cute if it doesn't fit on the width parameter.
1 - Text is cute if it doesn't fit on the width parameter and adds three points
2 - Text will wrap down
Example show of combinations of  csPropAddTextWitdth for string: " Test string shows different options of
addTextWidth"
Test string sho 
Test string s...
Test string shows
different options of
addTextWidth
Applies to:
AddTextWidth
- aspEasyPDF - 
298 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
Constant Definition
ID
110
Name
csPropCharSpacing
Type
Float
Default
0
GetProperty
SetProperty
Specify the space between each character. By default is 0 that means that it will not use the character spacing.
With this property you can set looks like this:
Hello World
H e l l o  W o r l d
 e  l  l  o   W  o  r  l  d
See also:
csPropWordSpacing
csPropTextVertSpace
Applies to:
AddText
AddTextPos
AddTextWidth
- aspEasyPDF - 
299 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
Constant Definition
ID
201
Name
csPropMarLeft
Type
Float
GetProperty
SetProperty
Sets the margin of the text from the left side to be use on the actual page and consecutive pages when creating news.
As this can act on the actual page you can use it to dynamically change it to set columns or paragraphs indents.
Example:
' Set margins to the left side to 10mm
PDF.SetProperty csPropMarLeft, cnvUnitmm(10)
PDF.AddText "Hello world"
' Change it to 20mm for the next line
PDF.SetProperty csPropMarLeft, cnvUnitmm(20)
PDF.AddText "<br>Hello world"
See also:
SetMargins
csPropMarRight
csPropMarTop
csPropMarBottom
Applies to:
AddText
AddHTML
AddLink
AddGraphic
- aspEasyPDF - 
300 / 325
Generated with aspEasyPDF library using demo sample CHM2PDF
Documents you may be interested
Documents you may be interested