XpsColorContext Class

Definition

表示點陣圖影像的色彩內容。Represents the color context for a bitmap image.

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

Remarks

這個類別沒有公用的函式。This class has no public constructors. 使用 IXpsFixedPageReader.GetColorContext 方法來取得類別之物件的參考。Use the IXpsFixedPageReader.GetColorContext method to get a reference to an object of the class.

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