Share via


IXpsFixedPageReader.GetColorContext(Uri) 方法

定义

获取具有指定统一资源标识符 (URI) 的资源的颜色上下文。

public:
 System::Windows::Xps::Packaging::XpsColorContext ^ GetColorContext(Uri ^ uri);
public System.Windows.Xps.Packaging.XpsColorContext GetColorContext (Uri uri);
abstract member GetColorContext : Uri -> System.Windows.Xps.Packaging.XpsColorContext
Public Function GetColorContext (uri As Uri) As XpsColorContext

参数

uri
Uri

资源的 URI。

返回

XpsColorContext

适用于