Optionen `save`, `dir` und `fileName` zum `ReadDocument`-Befehl hinzugefügt. Wenn `save` aktiviert ist, wird das PDF an dem angegebenen oder dem Standardpfad gespeichert. Ermöglicht dem Benutzer mehr Kontrolle über Speicherort und Dateinamen.
13 lines
349 B
C#
13 lines
349 B
C#
namespace EnvelopeGenerator.Application.Documents.Queries.Read;
|
|
|
|
/// <summary>
|
|
/// Represents the response for reading a document.
|
|
/// </summary>
|
|
public class ReadDocumentResponse : ReadDocumentResponseBase
|
|
{
|
|
/// <summary>
|
|
/// The binary data of the document, if available.
|
|
/// </summary>
|
|
public byte[]? ByteData { get; init; }
|
|
}
|