refactor(Edit): Dokument-Methode zum Bearbeiten von PDF-Dokumenten hinzufügen
This commit is contained in:
parent
ac29fac88d
commit
2d6347ffa6
@ -54,9 +54,10 @@ namespace EnvelopeGenerator.PdfEditor
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Edit<MemoryStream, MemoryStream> OnByte(byte[] documentBytes)
|
public Edit<TInputStream, TOutputStream> Document(Action<PdfDocument> edit)
|
||||||
{
|
{
|
||||||
return new Edit<MemoryStream, MemoryStream>(new MemoryStream(documentBytes), new MemoryStream());
|
edit(_doc);
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Finalizer
|
#region Finalizer
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user