PdfContent
PdfContent class
代表pdf文档,可以放水印。
public class PdfContent : Content
特性
姓名 | 描述 |
---|---|
Attachments { get; } | 获取本次所有附件的集合PdfContent . |
PageMarginType { get; set; } | 获取或设置添加水印时使用的pdf页边距。 |
Pages { get; } | 获取this所有页面的集合PdfContent . |
方法
姓名 | 描述 |
---|---|
Decrypt() | 解密内容。 |
Dispose() | 处理当前实例。 |
Encrypt(string) | 使用与用户密码和所有者密码相同的密码加密文档。 |
Encrypt(string, string, PdfPermissions, PdfCryptoAlgorithm) | 加密内容。 |
FindImages() | 查找内容中的所有图像。 搜索在指定的对象中进行SearchableObjects . |
FindImages(ImageSearchCriteria) | 根据指定的搜索条件查找图像。 搜索在指定的对象中进行SearchableObjects . |
Rasterize(int, int, PdfImageConversionFormat) | 将所有内容页面转换为图像。 |
Search() | 查找内容中所有可能的水印。 搜索在指定的对象中进行SearchableObjects . |
Search(SearchCriteria) | 根据指定的搜索条件查找可能的水印。 搜索在指定的对象中进行SearchableObjects . |
评论
了解更多:
也可以看看
- class Content
- 命名空间 GroupDocs.Watermark.Contents.Pdf
- 部件 GroupDocs.Watermark