DiagramPackage class

DiagramPackage class

Represents a native metadata package in a diagram format.

Learn more

The DiagramPackage type exposes the following members:

Methods

Method Description
set Adds or replaces the metadata property with the specified name.
set Adds or replaces the metadata property with the specified name.
set Adds or replaces the metadata property with the specified name.
set Adds or replaces the metadata property with the specified name.
set_file
set_string
add_properties Adds known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. (inherited from MetadataPackage)
add_properties_func (inherited from MetadataPackage)
clear Removes all writable metadata properties from the package. (inherited from DocumentPackage)
clear_built_in_properties Removes all built-in metadata properties. (inherited from DocumentPackage)
clear_custom_properties Removes all custom metadata properties. (inherited from DocumentPackage)
contains Returns True if the package contains a metadata property with the specified name; otherwise, False. (inherited from MetadataPackage)
contains_file (inherited from MetadataPackage)
contains_string (inherited from MetadataPackage)
find_properties Finds metadata properties that satisfy the specified predicate, searching recursively through all nested packages. (inherited from MetadataPackage)
find_properties_func (inherited from MetadataPackage)
get (inherited from MetadataPackage)
get_enumerator Returns an enumerator that iterates through the collection. (inherited from MetadataPackage)
get_file (inherited from MetadataPackage)
get_string (inherited from MetadataPackage)
remove Removes a writable metadata property by the specified name. (inherited from DocumentPackage)
remove_file (inherited from DocumentPackage)
remove_properties Removes metadata properties satisfying the specified predicate. (inherited from MetadataPackage)
remove_properties_func (inherited from MetadataPackage)
remove_string (inherited from DocumentPackage)
sanitize Removes writable metadata properties from the package, recursively affecting all nested packages. (inherited from MetadataPackage)
set_properties Sets known metadata properties satisfying the specified predicate. (inherited from MetadataPackage)
set_properties_func (inherited from MetadataPackage)
update_properties Updates known metadata properties that satisfy the specified predicate, recursively affecting all nested packages. (inherited from MetadataPackage)
update_properties_func (inherited from MetadataPackage)

Properties

Property Description
alternate_names The alternate names for the document. Can be updated in VDX and VSX formats only.
build_number_created The full build number of the instance used to create the document.
build_number_edited The build number of the instance last used to edit the document.
category The descriptive text for the type of drawing, such as flowchart or office layout. It can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box.
company The user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters.
creator The person who created or last updated the file. The maximum length is 63 characters.
description The descriptive text string for the document.
hyperlink_base The path used for relative hyperlinks. By default, it is relative to the current document unless a different path is specified. Maximum length is 256 characters.
keywords The keywords of the diagram package, a text string that identifies topics or other important information about the file (e.g., project name, client name, or version number), with a maximum length of 63 characters.
language The language of the document.
manager The manager is a user-entered text string identifying the person in charge of the project or department, with a maximum length of 63 characters.
preview_picture The preview picture.
subject The user-defined text string that describes the contents of the document. Maximum length is 63 characters.
template The file name of the template from which the document was created.
time_created The date and time when the document was created.
time_edited The date and time when the document was last edited.
time_printed The date and time when the document was last printed.
time_saved The date and time when the document was last saved.
title The title of the document, a user-defined text string serving as a descriptive title. Maximum length is 63 characters.
count The number of metadata properties. (inherited from MetadataPackage)
keys The collection of metadata property names. (inherited from MetadataPackage)
know_property_descriptors The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage)
metadata_type The metadata type of the package. (inherited from MetadataPackage)
property_descriptors The collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine. (inherited from MetadataPackage)

See Also