.NET Framework Class Library

IDocument.CopyFrom Method (IDocument, PageRange, String)

<< Click to Display Table of Contents >>

Navigation:  Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Core.DOM Namespace > IDocument Interface > IDocument Methods > CopyFrom Method  >

.NET Framework Class Library

IDocument.CopyFrom Method (IDocument, PageRange, String)

Copies specified pages from the document to specified document.

Namespace: Gnostice.Core.DOM

Assembly:  Gnostice.Core (in Gnostice.Core.dll)

Syntax

Visual Basic

Sub CopyFrom ( _
 document As IDocument, _
 pageRange As PageRange, _
 Optional selectedPages As String = "" _
)

C#

void CopyFrom(
 IDocument document,
 PageRange pageRange,
 string selectedPages = ""
)

Visual C++

void CopyFrom(
 IDocumentdocument,
 PageRange pageRange,
 StringselectedPages = L""
)

Parameters

document

Type: Gnostice.Core.DOM.IDocument

Document to which pages need to be copied.

pageRange

Type: Gnostice.Core.DOM.PageRange

Pages in the current document that need to be copied.

selectedPages (Optional)

Type: System.String

Specific pages that need to copied (valid when pageRange is set to [!:Gnostice.Documents.PageRange.Custom]).

See Also

IDocument Interface

IDocument Members

CopyFrom Overload

Gnostice.Core.DOM Namespace