vbscript CreateDocument.vb

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vbscript CreateDocument.vb相关的知识,希望对你有一定的参考价值。

' For complete examples and data files, please go to https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-.NET
' Create instance of annotator. 
Dim cfg As AnnotationConfig = CommonUtilities.GetConfiguration()

Dim annotator As New AnnotationImageHandler(cfg)

Dim documentRepository As IDocumentDataHandler = annotator.GetDocumentDataHandler()
If Not Directory.Exists(cfg.StoragePath) Then
    Directory.CreateDirectory(cfg.StoragePath)
End If

' Create document data object in storage.
Dim document = documentRepository.GetDocument("sample.pdf")
Dim documentId As Long = If(document IsNot Nothing, document.Id, annotator.CreateDocument("sample.pdf"))

以上是关于vbscript CreateDocument.vb的主要内容,如果未能解决你的问题,请参考以下文章

vbscript VBSCRIPT_EMAIL

vbscript SHA-256哈希的VBScript代码

vbscript 使用VBScript发送电子邮件

vbscript VBScript:运行本地或远程策略。

vbscript VBScript将可用磁盘空间写入文件

vbscript VBScript或VBA数组函数