Skip to main content
A newer version of this page is available. .

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.v19.1.dll

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