Declaration
TImageEnViewButton = (
// TImageEnView General
ivbImageOpen, // TImageEnViewPromptToOpen (Also see: ivbLayersOpenSave)
ivbImageSave, // TImageEnViewSave, TImageEnViewPromptToSave (Also see: ivbLayersOpenSave)
ivbImageSeek, // TImageEnViewSeekFirst, TImageEnViewSeekLast, TImageEnViewSeekNext, TImageEnViewSeekPrior
ivbImagePrint, // TImageEnViewDoPrintPreviewDialog
ivbImageZoom, // Zoom Level Box, TImageEnViewFit, TImageEnViewZoomFullSize, TImageEnViewZoomIn, TImageEnViewZoomOut
ivbImageClipboard, // TImageEnViewCutToClipboard, TImageEnViewCopyToClipboard, TImageEnViewPasteFromClipboard
// TImageEnView Mouse
ivbMouseZoomAndScroll, // TImageEnViewMouseZoomAndScroll
ivbMouseSelect, // Selection Popup Menu (TImageEnViewMouseSelect, TImageEnViewMouseSelectCircle, TImageEnViewMouseSelectMagicWand, TImageEnViewMouseSelectPolygon, TImageEnViewInvertSelection, TImageEnViewDeselect)
ivbMouseMeasure, // Measurement Popup Menu (TImageEnViewMouseMeasureLength, TImageEnViewMouseMeasureRect, TImageEnViewMouseMeasureEllipse, TImageEnViewMouseMeasurePath, TImageEnViewMouseMeasureAngle)
ivbMouseLayerEditing, // TImageEnViewMouseEditLayers, Add Layers Popup Menu
// TImageEnView Editing
ivbImageEditRotate, // TImageEnViewRotateLeft, TImageEnViewRotateRight
ivbImageEditFlip, // TImageEnViewRotateTool, TImageEnViewFlipHorizontal, TImageEnViewFlipVertical
ivbImageEditOther, // TImageEnViewCrop
ivbImageEditDialogPreview, // TImageEnViewDoEditPreviews
ivbImageEditColors, // TImageEnViewConvertToGray, TImageEnViewNegative (as popup menu if WideToolbar = True)
ivbImageEditColorPreview, // TImageEnViewDoAdjustPreviews, TImageEnViewDoEffectPreviews (as popup menu if WideToolbar = True)
ivbImageEditTools, // Color Button, TImageEnViewMouseColorPicker, TImageEnViewBrushTool, TImageEnViewSprayTool, TImageEnViewCloneTool, TImageEnViewColorFillTool, TImageEnViewEraserTool
// Retouch popup menu (TImageEnViewSmudgeTool, TImageEnViewBlurTool, TImageEnViewMotionBlurTool, TImageEnViewSmoothTool, TImageEnViewPixelizeTool, TImageEnViewBrightnessTool)
ivbImageEditUndo, // TImageEnViewUndo, TImageEnViewRedo
// TImageEnView Layers
ivbLayersOpenSave, // TImageEnViewLayersPromptToOpen, TImageEnViewLayersSave, TImageEnViewLayersPromptToSave (Also see: ivbImageOpen, ivbImageSave)
ivbLayersEdit, // New Layer Popup Menu, TImageEnViewLayersMerge, TImageEnViewLayersMergeAll
ivbLayersEditCurrent, // TImageEnViewLayersMergeToBackground, TImageEnViewLayersRemoveCurrent, TImageEnViewLayersCropBackground, TIELayerConvertToImageLayer
ivbLayersGroup, // TImageEnViewLayersGroup, TImageEnViewLayersUngroup
ivbLayersStyle, // TIELayerFill, TIELayerBorder, TIELayerBorderWidth
ivbLayersRotate, // TIELayerRotateLeft, TIELayerRotateRight
ivbLayersOther, // IELayerFlipHorz_Button_ID, IELayerFlipVert_Button_ID
ivbLayersSize, // TIELayerRestoreAspectRatio, TIELayerSizeToFit, TIEImageLayerRestoreSize
ivbLayersFont, // TIELayerFontSelect, Font Display Box, TIELayerFontSize, TIELayerFontColorSelect
ivbLayersFontStyle, // TIELayerFontBold, TIELayerFontItalic, TIELayerFontUnderline
ivbLayersFontAlignment, // TIELayerTextAlignLeft, TIELayerTextAlignRight, TIELayerTextAlignCenter
ivbLayersProps, // TIELayerEditText, TIELineLayerShowLabel, TIEImageLayerExecuteOpenDialog, TIEPolylineLayerPolylineClosed, TIEAngleLayerInvertAngle, TIEAngleLayerIncreaseAngle, TIEAngleLayerDecreaseAngle, TIELineLayerIncreaseCurve, TIELineLayerDecreaseCurve, TIELineLayerStartShape, TIELineLayerEndShape
ivbLayersPropsDlg, // TImageEnViewLayersShowPropertiesDialog
ivbLayersMoveAndAlign // TImageEnViewLayersMoveSendToBack, TImageEnViewLayersMoveSendBackward, TImageEnViewLayersMoveBringForward, TImageEnViewLayersMoveBringToFront (as popup menu if WideToolbar = True) + Align Popup Menu (TImageEnViewLayersAlignLeftEdges, TImageEnViewLayersAlignRightEdges, TImageEnViewLayersAlignTopEdges, TImageEnViewLayersAlignBottomEdges, TImageEnViewLayersAlignHorizontalCenters, TImageEnViewLayersAlignVerticalCenters, TImageEnViewLayersMatchWidth, TImageEnViewLayersMatchHeight)
);
TImageEnViewButtons = set of TImageEnViewButton;
PdfViewer Buttons
If
PdfViewer is enabled, the following buttons can be enabled:
◼ivbImageOpen: TImageEnViewPromptToOpen
◼ivbImageSave: TImageEnViewSave, TImageEnViewPromptToSave
◼ivbImageSeek: TImageEnViewSeekFirst, TImageEnViewSeekPrior, TImageEnViewSeekNext, TImageEnViewSeekLast
◼ivbImagePrint: TImageEnViewDoPrintPreviewDialog
◼ivbImageZoom: TIEPdfViewerShowAllPages, TIEPdfViewerRotateViewNormal, TIEPdfViewerRotateView90, TIEPdfViewerRotateView180, TIEPdfViewerRotateView270, TIEPdfViewerFindDialog, TImageEnViewFitToWidth, TImageEnViewSetZoom, TImageEnViewZoomIn, TImageEnViewZoomOut, TImageEnViewZoomFullSize
◼ivbImageClipboard: TImageEnViewCutToClipboard, TImageEnViewCopyToClipboard, TImageEnViewPasteFromClipboard
◼ivbMouseZoomAndScroll: TImageEnViewMouseZoomAndScroll
◼ivbMouseSelect: TImageEnViewMousePdfSelect, TImageEnViewMouseSelect, TImageEnViewMouseSelectCircle, TImageEnViewMouseSelectLasso, TImageEnViewMouseSelectPolygon, TImageEnViewMouseSelectZoom, TImageEnViewDeselect
◼ivbImageEditOther: TIEPdfViewerImportPages, TIEPdfViewerPromotePage, TIEPdfViewerDemotePage, TIEPdfViewerDeletePage
◼ivbImageEditRotate: TImageEnViewRotateLeft, TImageEnViewRotateRight
◼Other (when viewing): TIEPdfViewerRotateViewNormal, TIEPdfViewerRotateView90, TIEPdfViewerRotateView180, TIEPdfViewerRotateView270)
| Demos\Other\ImageEnViewToolbar\IEToolbar.dpr |
| Demos\PDF\PDFViewerToolbar\PdfViewerToolbar.dpr |