API Reference
Class
VsdxPackageValidator
Validates and optionally fixes Visio VSDX packages for common structural issues.
Inheritance
- Object
- VsdxPackageValidator
Constructors
public VsdxPackageValidator() #Methods
public Boolean FixFile(String inputPath, String outputPath) #Returns:
BooleanValidates and fixes the specified VSDX file.
Parameters
- inputPath System.String
- Path to the input VSDX file.
- outputPath System.String
- Path where the fixed file will be saved.
Returns
true if the file was fixed successfully; otherwise, false.
public Boolean FixFileStreaming(String inputPath, String outputPath) #Returns:
BooleanStreaming fix: writes a new VSDX with corrected [Content_Types].xml and minimal relationships for document and pages.
Parameters
- inputPath System.String
- outputPath System.String
public Boolean ValidateFile(String inputPath) #Returns:
BooleanValidates the specified VSDX file.
Parameters
- inputPath System.String
- Path to the input VSDX file.
Returns
true if no errors were found; otherwise, false.
public Boolean ValidateFileStreaming(String inputPath) #Returns:
BooleanStreaming (no-extract) validation prototype. Phase 1: content types and relationships; Phase 2: basic pages structure.
Parameters
- inputPath System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object