30
279
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows
Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core
supported with SP1 or later), Windows Server 2003 SP2
See Also
Reference
PdfPageCollection Class
PdfPageCollection Members
Overload List
Insert(Int32,PaperKind) Method
The position where the new page will be inserted.
The size of the new page, expressed as a System.Drawing.Printing.PaperKind.
Creates a new page with the specified size and inserts it at a specific position in the document.
Syntax
Visual Basic (Declaration)
Public Overloads Sub Insert( _
ByVal index As System.Integer, _
ByVal paperKind As System.Drawing.Printing.PaperKind _
)
C#
public void Insert(
System.int index,
System.Drawing.Printing.PaperKind paperKind
)
Parameters
index
The position where the new page will be inserted.
paperKind
The size of the new page, expressed as a System.Drawing.Printing.PaperKind.
Requirements
30
280
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows
Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core
supported with SP1 or later), Windows Server 2003 SP2
See Also
Reference
PdfPageCollection Class
PdfPageCollection Members
Overload List
Insert(Int32,Object) Method
Inserts a new page to the document at a specific position.
Syntax
Visual Basic (Declaration)
Public Overloads Overrides Sub Insert( _
ByVal index As System.Integer, _
ByVal page As System.Object _
)
C#
public override void Insert(
System.int index,
System.object page
)
Parameters
index
page
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows
Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core
supported with SP1 or later), Windows Server 2003 SP2
See Also
29
281
Reference
PdfPageCollection Class
PdfPageCollection Members
Overload List
InsertRange Method
Position where the new pages will be inserted.
Collection of PdfPage objects to add to the document.
Inserts the elements of an System.Collections.ICollection at a specified position in the document.
Syntax
Visual Basic (Declaration)
Public Overrides Sub InsertRange( _
ByVal index As System.Integer, _
ByVal c As System.Collections.ICollection _
)
C#
public override void InsertRange(
System.int index,
System.Collections.ICollection c
)
Parameters
index
Position where the new pages will be inserted.
c
Collection of PdfPage objects to add to the document.
Remarks
Since the PdfPage class has no public constructors, the only way to use this overload is
to remove existing pages from the document first, then add them back into the
document.
30
282
Each page can appear only once in the document. Trying to add the same page twice
will throw an exception.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows
Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core
supported with SP1 or later), Windows Server 2003 SP2
See Also
Reference
PdfPageCollection Class
PdfPageCollection Members
Remove Method
Removes a page from a document.
Overload List
Overload
Description
Remove(PdfPage)
Removes a page from a document.
Remove(Object)
Removes a page from the document.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008
(Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later),
Windows Server 2003 SP2
See Also
Reference
PdfPageCollection Class
PdfPageCollection Members
Remove(PdfPage) Method
PdfPage to remove from the document.
.NET PDF SDK | Read & Processing PDF files by this .NET Imaging PDF Reader Add-on. Include extraction of text, hyperlinks, bookmarks and metadata; Annotate and redact in PDF documents; Fully support all
adding a link to a pdf; add hyperlink to pdf online PDF Image Viewer| What is PDF advanced capabilities, such as text extraction, hyperlinks, bookmarks and Note: PDF processing and conversion is excluded in NET Imaging SDK, you may add it on
add email link to pdf; adding hyperlinks to pdf
28
283
Removes a page from a document.
Syntax
Visual Basic (Declaration)
Public Overloads Sub Remove( _
ByVal page As PdfPage _
)
C#
public void Remove(
PdfPage page
)
Parameters
page
PdfPage to remove from the document.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server
2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1
or later), Windows Server 2003 SP2
See Also
Reference
PdfPageCollection Class
PdfPageCollection Members
Overload List
Remove(Object) Method
Removes a page from the document.
Syntax
Visual Basic (Declaration)
Public Overloads Overrides Sub Remove( _
29
284
ByVal page As System.Object _
)
C#
public override void Remove(
System.object page
)
Parameters
page
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server
2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1
or later), Windows Server 2003 SP2
See Also
Reference
PdfPageCollection Class
PdfPageCollection Members
Overload List
RemoveAt Method
Index of the page to be removed from the document.
Removes a page at a specific position from the document.
Syntax
Visual Basic (Declaration)
Public Overrides Sub RemoveAt( _
ByVal index As System.Integer _
)
C#
public override void RemoveAt(
System.int index
29
285
)
Parameters
index
Index of the page to be removed from the document.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server
2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1
or later), Windows Server 2003 SP2
See Also
Reference
PdfPageCollection Class
PdfPageCollection Members
RemoveRange Method
Index of the first page to remove.
Number of pages to remove from the document.
Removes a range of pages from the document.
Syntax
Visual Basic (Declaration)
Public Overrides Sub RemoveRange( _
ByVal index As System.Integer, _
ByVal count As System.Integer _
)
C#
public override void RemoveRange(
System.int index,
System.int count
)
Parameters
30
286
index
Index of the first page to remove.
count
Number of pages to remove from the document.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows
Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core
supported with SP1 or later), Windows Server 2003 SP2
See Also
Reference
PdfPageCollection Class
PdfPageCollection Members
Properties
For a list of all members of this type, see PdfPageCollection members.
Public Properties
Name
Description
Capacity
(Inherited from System.Collections.ArrayList)
Count
(Inherited from System.Collections.ArrayList)
IsFixedSize
(Inherited from System.Collections.ArrayList)
IsReadOnly
(Inherited from System.Collections.ArrayList)
IsSynchronized
(Inherited from System.Collections.ArrayList)
Item
Gets or sets the PdfPage at a specific position in the document.
29
287
SyncRoot
(Inherited from System.Collections.ArrayList)
Top
See Also
Reference
PdfPageCollection Class
C1.C1Pdf Namespace
Item Property
Gets or sets the PdfPage at a specific position in the document.
Syntax
Visual Basic (Declaration)
Public Shadows Default Property Item( _
ByVal index As System.Integer _
) As PdfPage
C#
public new PdfPage this[
System.int index
]; {get; set;}
Parameters
index
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server
2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1
or later), Windows Server 2003 SP2
See Also
Reference
PdfPageCollection Class
PdfPageCollection Members
25
288
PdfPushButton
Represents a push button.
Object Model
Syntax
Visual Basic (Declaration)
Public Class PdfPushButton
Inherits PdfFieldBase
C#
public class PdfPushButton : PdfFieldBase
Inheritance Hierarchy
System.Object
C1.C1Pdf.PdfFieldBase
C1.C1Pdf.PdfPushButton
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008
(Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later),
Windows Server 2003 SP2
See Also
Reference
PdfPushButton Members
C1.C1Pdf Namespace
Overview
Represents a push button.
Object Model
Documents you may be interested
Documents you may be interested