DataManagerAddPDFDocument Method

Adds PDF Document to Patient Chart or as Unfiled. LegacyV2RunTime is Required

Namespace:  Dtx.DataAccessExt
Assembly:  Dtx.DataAccessExt (in Dtx.DataAccessExt.dll) Version: 11.0.12.85

Syntax
C#
public bool AddPDFDocument(
        string filePath,
        DocumentInfo documentInfo = null,
        bool useLegacyV2RunTime = true
)

Parameters

filePath
Type: SystemString
Full local File Path to PDF Document
documentInfo (Optional)
Type: Dtx.DataAccessExt.ModelDocumentInfo
Optional. Adds Document as Unfiled if not set. Otherwise adds to Patient's Chart
useLegacyV2RunTime (Optional)
Type: SystemBoolean
If true - enables LegacyV2RunTime. Set to false if LegacyV2RunTime is enabled in application

Return Value

Type: Boolean
true if operation succeeded, false if failure
Remarks
If DocumentInfo.DocumentCategoryName does not exist - new Category will be created
See Also