Skip to main content

PdfViewerCommandRepository.CreateCommand(PdfViewerCommandId) Method

For internal use. Use the IPdfViewerCommandFactoryService.CreateCommand method instead to create a custom command of the PDF Viewer.

Namespace: DevExpress.XtraPdfViewer.Commands

Assembly: DevExpress.XtraPdfViewer.v23.2.dll

NuGet Package: DevExpress.Win.PdfViewer

Declaration

public PdfViewerCommand CreateCommand(
    PdfViewerCommandId id
)

Parameters

Name Type Description
id PdfViewerCommandId

A PdfViewerCommandId member specifying a command to create.

Returns

Type Description
PdfViewerCommand

A PdfViewerCommand object that is the PDF Viewer command.

See Also