wmtext.h
来自「WDK 下的XPSDrv 中filter 例子之 watermark」· C头文件 代码 · 共 59 行
H
59 行
/*++
Copyright (c) 2005 Microsoft Corporation
All rights reserved.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
File Name:
wmtext.h
Abstract:
Text watermark class definition. CTextWatermark is the
text implementation of the CWatermark class. This implements methods
for creating the page mark-up and adding the watermark resource to the
resource cache.
--*/
#pragma once
#include "wmbase.h"
#include "wmfont.h"
#include "rescache.h"
class CTextWatermark : public CWatermark
{
public:
CTextWatermark(
__in CONST CWMPTProperties& wmProps
);
virtual ~CTextWatermark();
virtual HRESULT
CreateXMLElement(
VOID
);
virtual HRESULT
AddParts(
__in IXpsDocumentConsumer* pXpsConsumer,
__in IFixedPage* pFixedPage,
__in CFileResourceCache* pResCache
);
private:
CComBSTR m_bstrFontURI;
CWatermarkFont m_wmFont;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?