PdfViewer.CreateBars(PdfViewerToolbarKind) Method
Creates a set of toolbars with actions specific to the PdfViewer control.
Namespace: DevExpress.XtraPdfViewer
Assembly: DevExpress.XtraPdfViewer.v20.2.dll
Declaration
public void CreateBars(
PdfViewerToolbarKind flags
)
Public Sub CreateBars(
flags As PdfViewerToolbarKind
)
Parameters
Name | Type | Description |
---|---|---|
flags | PdfViewerToolbarKind | The PdfViewerToolbarKind enumeration value specifying a set of toolbars that should be created. |
Remarks
The code sample below shows how to create all available ribbon tabs and specific toolbars:
using DevExpress.XtraBars.Ribbon;
using DevExpress.XtraPdfViewer;
//Create all PDF ribbon tabs
pdfViewer.CreateRibbon(PdfViewerToolbarKind.All);
//Create main toolbar
pdfViewer.CreateBars(PdfViewerToolbarKind.Main);
See Also
Feedback