Search
PrintOptions.PreviewTbarPicture Property
See Also
 



Sets the image associated with a specified button in the print-preview window.

 Syntax

VB6  Copy Code

Public Property Let PreviewTbarPicture( _
    ByVal Index As Long, _
    ByVal value As IPictureDisp _
)

C++  Copy Code

public:
void put_PreviewTbarPicture (
    int Index,
    IPictureDisp* value
)

 Parameters

Index

 Property Value

A picture object.

 Remarks

PreviewTbarPicture is an indexed property. With its help, you can assign new images to be displayed on buttons of the print-preview window. How picture indices correspond to toolbar buttons is shown below:

Button name

Picture index

Print

0

Zoom In

1

Zoom Out

2

Prev Page

3

Next Page

4

Landscape

5

Portrait

6

Fit Page

8

Close

7

 See Also