DVASPECT DVASPECT DVASPECT DVASPECT Enum

定義

指定繪製或取得資料時所需的資料或物件的檢視外觀。Specifies the desired data or view aspect of the object when drawing or getting data.

此列舉具有 FlagsAttribute 個屬性允許以位元方式合併其成員值。

public enum class DVASPECT
[System.Flags]
public enum DVASPECT
type DVASPECT = 
Public Enum DVASPECT
繼承
屬性

欄位

DVASPECT_CONTENT DVASPECT_CONTENT DVASPECT_CONTENT DVASPECT_CONTENT 1

物件的表示,可以讓物件顯示成容器 (Container) 內部的內嵌物件。A representation of an object that lets that object be displayed as an embedded object inside a container. 一般會將這個值指定給複合文件物件。This value is typically specified for compound document objects. 可以針對螢幕或印表機提供這個表示。The presentation can be provided for the screen or printer.

DVASPECT_DOCPRINT DVASPECT_DOCPRINT DVASPECT_DOCPRINT DVASPECT_DOCPRINT 8

物件的螢幕表示,就像使用 [檔案] 功能表中的 [列印] 命令將物件列印到印表機一樣。A representation of an object on the screen as though it were printed to a printer using the Print command from the File menu. 描述的資料可能表示一系列的頁面。The described data may represent a sequence of pages.

DVASPECT_ICON DVASPECT_ICON DVASPECT_ICON DVASPECT_ICON 4

物件的圖示表示。An iconic representation of an object.

DVASPECT_THUMBNAIL DVASPECT_THUMBNAIL DVASPECT_THUMBNAIL DVASPECT_THUMBNAIL 2

物件的縮圖表示 (Thumbnail Representation),可以讓物件顯示在瀏覽工具中。A thumbnail representation of an object that lets that object be displayed in a browsing tool. 縮圖為約 120 X 120 像素、16 色 (建議)、與裝置無關 (Device-independent) 的點陣圖,而且可能包裝在中繼檔 (Metafile) 中。The thumbnail is approximately a 120 by 120 pixel, 16-color (recommended), device-independent bitmap potentially wrapped in a metafile.

備註

如需的詳細DVASPECT資訊, 請參閱 MSDN Library。For more information about DVASPECT, see the MSDN Library.

當原生程式碼中的 COM 方法傳回 HRESULT 時, common language runtime 會擲回例外狀況。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 如需詳細資訊,請參閱 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

適用於