XpsThumbnail Class

Definition

表示文件序列、單一文件或單一頁面的縮圖影像。Represents a thumbnail image of a document sequence, single document, or single page.

public ref class XpsThumbnail : System::Windows::Xps::Packaging::XpsResource
public class XpsThumbnail : System.Windows.Xps.Packaging.XpsResource
type XpsThumbnail = class
    inherit XpsResource
Public Class XpsThumbnail
Inherits XpsResource
Inheritance

Remarks

XpsThumbnail 類別沒有公用的函式。The XpsThumbnail class has no public constructor. XpsThumbnail 的參考是透過 IXpsFixedPageWriter.AddThumbnailIXpsFixedDocumentWriter.AddThumbnailIXpsFixedDocumentSequenceWriter.AddThumbnail 方法提供。A reference to an XpsThumbnail is provided through the IXpsFixedPageWriter.AddThumbnail, IXpsFixedDocumentWriter.AddThumbnail, or IXpsFixedDocumentSequenceWriter.AddThumbnail methods.

如果 XpsDocument 中的任何頁面都有縮圖,建議您以縮圖指定所有頁面。It is recommended that if any page in an XpsDocument has a thumbnail, that all pages be specified with thumbnails.

Properties

Uri

Gets or sets the uniform resource identifier (URI) of the part.Gets or sets the uniform resource identifier (URI) of the part.

(Inherited from XpsPartBase)

Methods

Commit()

認可所有變更,並將資源排清到文件套件。Commits all changes and flushes the resource to the document package.

(Inherited from XpsResource)
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetStream()

在衍生類別中覆寫時,會傳回用於讀取或寫入資源的 I/O 資料流。When overridden in a derived class, returns the I/O stream for reading or writing the resource.

(Inherited from XpsResource)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(Inherited from Object)
RelativeUri(Uri)

傳回與指定之絕對 URI 相關資源的 URI。Returns the URI of the resource that is relative to a specified absolute URI.

(Inherited from XpsResource)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDisposable.Dispose()

此成員支援 Windows Presentation Foundation 基礎結構,但並不適合直接透過您的程式碼使用。This member supports the Windows Presentation Foundation infrastructure and is not intended to be used directly from your code.

(Inherited from XpsResource)

Applies to