←选择平台

DocumentCacheOptions枚举

总结

确定将在缓存中存储文档的哪些额外部分。

语法
c#
VB
c++
[SerializableAttribute ()][DataContractAttribute ()][FlagsAttribute ()]公共枚举DocumentCacheOptions
< SerializableAttribute (),FlagsAttribute (),DataContractAttribute () >公共枚举DocumentCacheOptions
公共[SerializableAttribute,FlagsAttribute,DataContractAttribute]枚举DocumentCacheOptions密封
成员
价值 成员 描述
0 x00000000 没有一个 不会缓存文档的其他部分。只需要从缓存中重新构造文档及其页面所需的内容。
0 x00000001 PageImage 调用DocumentPage。GetImage将尝试将结果保存在缓存中,并在后续调用中重用。
0 x00000002 PageSvg 调用DocumentPage。GetSvg将尝试将结果保存在缓存中,并在后续调用中重用。
0 x00000004 PageSvgBackImage 调用DocumentPage。GetSvgBackImage将尝试将结果保存在缓存中,并在后续调用中重用。
0 x00000008 PageThumbnailImage 调用DocumentPage。GetThumbnailImage将尝试将结果保存在缓存中,并在后续调用中重用。
0 x00000010 PageText 调用DocumentPage。GetText将尝试将结果保存在缓存中,并在后续调用中重用。
0 x00000020 PageAnnotations 调用DocumentPage。GetAnnotations将尝试将结果保存在缓存中,并在后续调用中重用。
0 x0000003f 所有 所有结果都被缓存并在后续调用中重用。
讲话

DocumentCacheOptions用作的类型LoadDocumentOptions。CacheOptions而且LEADDocument。CacheOptions确定文档的哪些额外部分在存储缓存中。

DocumentCacheOptions的值。没有一个(the default) means to store only the necessary data needed to re-construct the document and its pages from the cache (for example, whenDocumentFactory。LoadFromCache被称为。

其他值将尝试将获取页面图像、svg、文本和注释的结果存储到缓存中,以加快后续调用。

需求
目标平台
另请参阅

参考

Leadtools。文档Namespace

Leadtools。文档Assembly
188金宝搏的网址客服|支持|联系我们|知识产权的通知
©1991 - 2021领先的技术公司。保留所有权利。