|
|
|
The
The caller can request specific representations and specific target devices. For example, a caller can ask for either an object’s content or an iconic representation. Also, the caller can ask the object to compose a picture for a target device that is independent of the drawing device context. As a result, the picture can be composed for one target device and drawn on another device context. For example, to provide a print preview operation, you can compose the drawing for a printer target device but actually draw the representation on the display.
The
Unlike most other interfaces,
You call
|
|
|
|
|
|
Returns pointers to supported interfaces. |
|
Increments reference count. |
|
Decrements reference count. |
|
|
|
Draws a representation of the object onto a device context. |
|
Returns the logical palette the object uses for drawing. |
|
Freezes the drawn representation of an object so it will not change until a subsequent |
|
Unfreezes the drawn representation of an object. |
|
Sets up a connection between the view object and an advise sink so that the advise sink can receive notifications of changes in the view object. |
|
Returns the information on the most recent |
出处:http://www.com.it-berater.org/COM/ole_and_data_transfer/interfaces/IViewObject.htm
转载于:https://www.cnblogs.com/Chinasf/archive/2006/12/28/605697.html