Class DocsDocumentPdfController
Implements
Inherited Members
Namespace: Volo.Docs.Documents
Assembly: Volo.Docs.Common.HttpApi.dll
Syntax
[RemoteService(true, Name = "AbpDocsCommon")]
[Area("docs-common")]
[Route("api/docs/documents/pdf")]
public class DocsDocumentPdfController : DocsControllerBase, IAvoidDuplicateCrossCuttingConcerns, IDocumentPdfAppService, IApplicationService, IRemoteService
Constructors
DocsDocumentPdfController(IDocumentPdfAppService)
Declaration
public DocsDocumentPdfController(IDocumentPdfAppService documentPdfAppService)
Parameters
| Type | Name | Description |
|---|---|---|
| IDocumentPdfAppService | documentPdfAppService |
Properties
DocumentPdfAppService
Declaration
protected IDocumentPdfAppService DocumentPdfAppService { get; }
Property Value
| Type | Description |
|---|---|
| IDocumentPdfAppService |
Methods
DownloadPdfAsync(DocumentPdfGeneratorInput)
Declaration
[HttpGet]
[Route("download")]
public virtual Task<IRemoteStreamContent> DownloadPdfAsync(DocumentPdfGeneratorInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentPdfGeneratorInput | input |
Returns
| Type | Description |
|---|---|
| Task<IRemoteStreamContent> |
ExistsAsync(DocumentPdfGeneratorInput)
Declaration
[HttpGet]
[Route("exists")]
public virtual Task<bool> ExistsAsync(DocumentPdfGeneratorInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentPdfGeneratorInput | input |
Returns
| Type | Description |
|---|---|
| Task<bool> |