inDocからドキュメントのプロパティとページの範囲をコピーします。
PdfTools.DocumentAssembly.DocumentAssemblerクラス
定義
public void Append( Document inDoc, int? firstPage = null, int? lastPage = null, DocumentCopyOptions documentCopyOptions = null, PageCopyOptions pageCopyOptions = null )
例外
例外 | 条件 |
---|---|
LicenseException | ライセンスが不正 |
ArgumentException | firstPageまたはlastPageが許容範囲にない。 |
ArgumentException | 以下プロパティのいずれかがtrueに指定された状態でメソッドが既に呼び出されている: |
ConformanceException | 入力PDF文書の規格準拠レベルは、出力PDF文書の規格準拠レベルと互換性がない。 |
ConformanceException | 明示的に要求された準拠レベルは PDF/A レベル A ([!:PdfTools.Pdf.Conformance.PdfA1A]、[!:PdfTools.Pdf.Conformance.PdfA2A]、または [!:PdfTools.Pdf.Conformance.PdfA3A])で、コピーオプションDocumentAssembly.PageCopyOptions.CopyLogicalStructureがfalseに設定されている。 |
InvalidOperationException | Assemble()がすでにコールされている。 |
ProcessingException | 処理に失敗 |
ArgumentNullException | inDoc値がnull |